Commit Graph

77 Commits

Author SHA1 Message Date
YiQianYao c00b2a38d5
feat: add Hill shade demo (#1349)
* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* feat: add hillShade demo - openlayers

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-09-20 21:00:47 +08:00
YiQianYao a2e525e12b
feat: 瓦片性能和代码优化 (#1347)
* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* feat: 优化数据栅格瓦片的渲染、瓦片管理流程完善

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-09-20 17:41:00 +08:00
YiQianYao c95f70fa92
chore: fix spelling mistake (#1344)
* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* chore: fix spelling mistake

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-09-19 17:19:13 +08:00
YiQianYao 9bf6a17d88
feat: 瓦片图层、地图图层渲染性能/体验优化 (#1329)
* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* feat: 优化简单矢量线瓦片的计算

* feat: 优化简单线图层的网格计算构建

* style: lint style

* style: lint style

* feat: 矢量瓦片更新渲染优化

* fix: 修复 tileLayer 重复创建导致的瓦片更新错误

* feat: 优化矢量瓦片图层本身的性能

* style: lint style

* feat: 优化 reRender 的调用

* feat: 合并瓦片销毁时的重绘

* feat: 去除矢量文本图层的 remapping 映射

* feat: 网格构建异步改造修复

* feat: 瓦片渲染流程优化

* feat: 通用瓦片流程的优化(主线程阻塞优化)

* feat: 补全瓦片更新触发

* feat: 默认顶点属性构建的优化

* style: lint style

* feat: 调整矢量点 uniform 参数

* chore: 去除矢量图层对偏移坐标的支持(不统一)

* style: lint style

* feat: 合并不同瓦片图层触发的重绘

* style: lint style

* chore: 调整瓦片代码结构

* feat: 矢量图层初始化优化

* chore: code clean

* feat: 矢量图层地图绘制数据属性映射优化

* chore: lint style

* feat: 矢量图层地图绘制初始化优化

* feat: maskLayer 初始化优化、debugtestLayer 默认为 basemap 模式

* chore: style

* feat: 绘制指令优化 - picking drawCommand

* style: lint style

* feat: 优化矢量图层初始化资源的创建

* feat: 简化矢量瓦片图层加载完成触发的重绘

* chore: 统一地图图层的样式写法 color、size

* style: lint style

* style: lint style

* style: lint style

* feat: 瓦片渲染执行优化
 Please enter the commit message for your changes. Lines starting

* feat: 优化拾取渲染

* style: lint style

* chore: style change

* style: lint style

* feat: layer plugin list clean

* style: lint style

* feat: 合并shader 使用

* style: lint style

* feat: 优化 source 计算

* feat: 去除 source 中对创建 tileset 的多余判断

* chore: 优化代码写法

* feat: 地图瓦片图层类型定义优化

* chore: data clean

* style: lint style

* style: lint style

* feat: debugLayer add basemap attr

* chore: demo 调整

* feat: 优化瓦片图层的渲染

* feat: 修改瓦片显示更新

* fix: 修复动画模式传值导致的显示效果问题

* fix: 修复 mapbox version 设置错误的问题

* fix: 修复 CanvasLayer render

* style: lint style

* chore: clean citybuilding demo

* style: lint style

* chore: clean point simple code

* chore: clean point text iconfont

* chore: clean polygon fill code

* style: lint style

* chore: clean billboard demo

* chore: clean polygon water/ocean demos

* chore: clean point radar demos

* chore: clean point normal demos

* chore: clean wind layer demos

* chore: clean demos

* feat: clean demos & fix half line insert attri

* style: lint style

* chore: clean mask demo

* chore: adjust website demo

* style: lint style

* chore: clean worker demos

* style: lint style

* fix: 修复箭头顶点重复插入的问题

* fix: 修复线图层弧线的纹理分布

* chore: website demos code clean

* chore: layerService/renderlayers move clear place

* feat: 优化图片瓦片的颜色映射

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-09-19 16:03:18 +08:00
@thinkinggis fac48aede1
Feat custom map (#1326)
* chore(map): 地图模块重构

* feat: lealetMap for l7

* chore: amap baseservice 重构

* fix: 修改amap 样式

* fix: 单词拼写
2022-09-13 11:25:25 +08:00
Dreammy23 16df259e61
fix: 自定义图层 - markerLayer - 修复图层执行clear后聚合能力失效问题 (#1333)
Co-authored-by: Dreammy23 <echo.cmy@antgroup.com>
2022-09-09 21:41:20 +08:00
YiQianYao 5225675cbe
fix: source empty err (#1332)
* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* fix: fix empty source bug

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-09-09 10:19:41 +08:00
Dreammy23 d4ec1ca59e
fix: 修复gaodev2下MarkerLayer清除有误问题 (#1324)
* fix: markerLayer在GaodeMapV2做底图时removeMarkerLayer视图图层层级改变时会复原被删除的图层 (#1322)

去除clear方法中调用注销监听事件

* fix: 修复gaodev2下layer清除有误问题

Co-authored-by: bolry <909559682@qq.com>
Co-authored-by: Dreammy23 <echo.cmy@antgroup.com>
2022-09-07 11:44:38 +08:00
YiQianYao ecdaeef538
chore: add demo (#1319)
* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* chore: add demo

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-08-30 19:18:33 +08:00
Dreammy23 16b6abc01f
feat: 自定义图层 - marker&markerLayer - 多个marker节点性能优化 (#1300)
* chore: 新增marker开发demo

* style: 增加格式化空格

* marker性能优化 - 缓存计算变量:ignore (#1298)

Co-authored-by: linlb <linlb@homeking365.com>

* feat: 自定义图层 - marker&markerLayer - markerLayer多节点kmarker性能优化

* feat: 添加demo

* feat: 删除冗余代码

Co-authored-by: Dreammy23 <echo.cmy@antgroup.com>
Co-authored-by: bolry <909559682@qq.com>
Co-authored-by: linlb <linlb@homeking365.com>
2022-08-30 16:24:02 +08:00
YiQianYao f345fba72c
feat: 矢量文本计算优化、性能优化 (#1310)
* feat: 新增测试瓦片图层

* style: lint style

* feat: 矢量文本图层性能优化

* chore: change tiletestlayer demo

* style: lint style

* feat: 封装 TileDebugLayer 的source 模块,优化图层默认数据的配置,测试图层样式调整

* style: line style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-08-30 15:35:41 +08:00
YiQianYao 7837021908
fix: 修复栅格图片瓦片的混合问题 (#1316)
* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* fix: 修复栅格图片瓦片的混合问题

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-08-30 14:44:44 +08:00
Dreammy23 f2a35106cb
test: 新增marker测试用例 (#1309)
Co-authored-by: Dreammy23 <echo.cmy@antgroup.com>
2022-08-26 23:09:10 +08:00
YiQianYao c3fe87a686
fix: heatmap render error (#1307)
* fix: 修复热力图渲染失效

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-08-26 17:03:57 +08:00
@thinkinggis c7f0f03e3c
docs: scale demo & IE 兼容 (#1304)
* docs: 增加demo,关闭 any lint

* docs: demo& ie 兼容问题

* chore: dev-build
2022-08-23 20:20:32 +08:00
YiQianYao 1e9dfaa310
feat: 矢量图层支持 geojson-vt (#1302)
* feat: 矢量图层支持 geojson-vt

* feat: 优化 parser 类型获取、内置 sourceLayer

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-08-23 20:02:17 +08:00
YiQianYao 4de2369a1b
feat: 提供线图层偏移点位计算的通用方法 (#1293)
* feat: 增加线偏移点的计算

* style: lint style

* feat: 支持对 greatcircle 的偏移点位的计算

* feat: 完善弧线偏移点的 featureId 过滤

* style: lint style

* style: lint style

* feat: 支持对普通线偏移点的计算支持

* feat: 增加线图层偏移点位计算的测试用例

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-08-18 16:04:21 +08:00
YiQianYao 02ac2ab4a1
feat: support simple line vector layer (#1295)
* feat: 矢量图层支持 join/transfrom 透传

* style: lint style

* feat: support simple line vector tile layer

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-08-18 10:30:20 +08:00
YiQianYao 1319882f8c
feat: 适量图层支持透传 transfrom (#1294)
* feat: 矢量图层支持 join/transfrom 透传

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-08-18 10:18:59 +08:00
YiQianYao 4e7a90e2ee
feat: 修改 simple line 的网格构建和渲染方式 (#1288)
Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-08-11 17:31:24 +08:00
@thinkinggis 101fe3744f
Chore: 修复部分lint 警告,pre-commit 移除build命令 (#1285)
* chore: lint unuse

* chore: pre commit command

* chore: pre-commit 去除build 命令
2022-08-11 14:04:56 +08:00
YiQianYao 089d172324
feat: 新增枚举类型的色带 (#1283)
Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-08-11 11:19:09 +08:00
@thinkinggis d8a9ccb884
Chore test preCommit 增加测试用例校验 (#1281)
* docs: 文档的相关配置

* chore: package json 测试覆盖

* test(source): test

* fix: test ci

* chore: ci

* chore: ci add worker build

* chore: glsl 支持热更新

* chore: test cover view

* chore: ci test

* chore: precommit 增加 test 校验

* chore: remove stroybook lint add dumo demo lint

* chore: pre-commit build 校验

* chore: update ci 触发

* chore: lint 相关配置
2022-08-10 15:58:12 +08:00
YiQianYao 08cab1d741
feat: 优化图片的显示效果 (#1282)
* feat: 优化栅格瓦片的显示效果

* style: lint style

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-08-10 15:12:07 +08:00
YiQianYao 00542e3560
feat: raisingHeight/heightFixed 补全 (#1280)
* feat: 去除多余 demo、提取图层共用类型定义

* feat: 点图层支持 heightfixed

* feat: point fillImage 支持 raisingHeight

* feat: 点图层 fill、fillImage 补全 raigingHeight\heightFixed

* feat: 点图层 point image 完善对 raisingHeight\heightFixed 的支持

* feat: 修改类型定义

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-08-10 14:04:05 +08:00
@thinkinggis e20b13b690
chore: 工程配置优化 (#1278)
* docs: 文档的相关配置

* chore: package json 测试覆盖

* test(source): test

* fix: test ci

* chore: ci

* chore: ci add worker build

* chore: glsl 支持热更新

* chore: test cover view

* chore: ci test
2022-08-10 11:11:32 +08:00
@thinkinggis b28e38c760
chore: replace storybook with dumi (#1256)
* chore: 添加dumi 配置

* chore: 添加dumi 配置

* chore: 更新build 命令

* chore: add lib test

* chore: 重构site 文档

* chore: script

* chore: 测试用例

* chore: 测试用例

* chore: tsc 设置

* chore: site command

* fix: tslint error

* chore: react 版本依赖

* chore: tsconfig

* chore: rm doc-dist

* fix: 版本统一

* chore: 更新 gl 版本依赖

Co-authored-by: YiQianYao <42212176+2912401452@users.noreply.github.com>
2022-08-08 16:41:30 +08:00