Commit Graph

4829 Commits

Author SHA1 Message Date
YiQianYao 083154fc0c
feat: 瓦片更新代码重构 (#1395)
Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-10-14 16:21:05 +08:00
@thinkinggis 6da24ed06a
feat: 升级图例方法、图例更新事件 (#1394)
* feat: 升级图例方法 & 图例更新事件

* feat: 升级图例方法 & 图例更新事件

* docs: legend 文档

Co-authored-by: 象数 <zhengxue.lzx@antgroup.com>
2022-10-14 16:20:50 +08:00
YiQianYao 6754bf52d2
fix:修复事件名丢失 (#1393)
* chore: rename sourceUpdate -> update

* chore: remove useless code

* feat: 修改初始化 mask 的 逻辑

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-10-14 15:47:45 +08:00
YiQianYao 849c095ea8
chore: 代码警告清理 & 部分代码优化 (#1392)
* chore: 完善属性注册的写法

* feat: clean code & fix raster pick failed

* chore: code clean

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-10-14 10:14:46 +08:00
YiQianYao 3b2bdc3999
chore: 瓦片代码重构 (#1390)
* feat: 瓦片代码改造

* chore: 瓦片代码重构

* feat: 瓦片代码完善

* chore: 瓦片代码重构

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-10-13 21:12:35 +08:00
YiQianYao 8a98f79b16
chore: update version 2.9.35 -> 2.9.36 (#1387)
Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-10-12 10:55:23 +08:00
YiQianYao cab8e69804
fix: 修复设置地图中心点引发的问题 (#1386)
* fix: 修复设置地图中心点引发的问题

* style: lint style

* feat: 补充空值时图层绘制采用默认地图中心点

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-10-12 10:40:37 +08:00
YiQianYao 55835ff9b9
chore: update version 2.9.34 -> 2.9.35 (#1385)
Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-10-12 10:08:31 +08:00
YiQianYao 28a68ea4a4
feat: 新增矢量瓦片类型 - 掩模图层 (#1382)
Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-10-11 17:47:55 +08:00
YiQianYao 406eef7361
fix: 优化多图层 setData 效果不同步的现象 (#1384)
* fix: 优化多图层 setData 效果不同步的现象

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-10-11 17:47:33 +08:00
@thinkinggis e224472d4e
chore: 更新版本 2.9.34 (#1383)
Co-authored-by: 象数 <zhengxue.lzx@antgroup.com>
2022-10-11 17:18:36 +08:00
@thinkinggis 6ed131db39
fix: css lib (#1381) 2022-10-10 20:59:13 +08:00
YiQianYao 5add3d82ef
chore: update version 2.9.32 -> 2.9.33 (#1379)
Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-10-10 19:59:44 +08:00
YiQianYao 5540d4c610
feat: 栅格瓦片的多波段计算 (#1367)
* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* feat: 增加多波段瓦片的 operation 操作

* style: lint style

* feat: 增加波段指定逻辑

* style: lint style

* feat: 优化多波段的请求操作路径代码

* style: lint style

* feat: multi raster layer support express operation 1.0

* style: lint style

* feat: 增加栅格图层的多波段分析能力

* chore: add raster layer demo

* style: lint style

* style: lint style

* style: lint style

* style: lint style

* style: lint style

* feat: 补充栅格数据表达式计算

* chore: 调整栅格计算方法的位置

* chore: 优化栅格计算代码结构

* chore: 优化数据栅格代码

* style: lint style

* style: lint style

* style: lint style

* feat: band operation handle empty data

* feat: 支持彩色多通道栅格

* feat: 数据栅格瓦片支持彩色多通道波段计算

* style: lint style

* style: lint style

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-10-10 19:15:24 +08:00
lvisei 36dcd9928c
fix: 修复 source 模块 parser 为 Json geometry 情况数据拾取问题 (#1378) 2022-10-10 17:48:44 +08:00
@thinkinggis c878581cee
Fix: css 打包方式内联 (#1375)
* fix: 文件名大小写

* fix: font load 逻辑

* fix: font 加载问题

* fix: lint error

* fix: css lib 打包配置
2022-10-10 16:28:42 +08:00
YiQianYao f6b9938bd5
fix: 修复 setData 引发的高德2 图层抖动问题 (#1376)
Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-10-10 16:18:22 +08:00
YiQianYao 61a56284c3
chore: update version 2.9.31 -> 2.9.32 (#1373)
* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* chore: update version 2.9.31 -> 2.9.32

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-10-10 14:44:35 +08:00
@thinkinggis ef8daefcb2
fix: font 加载逻辑,添加font 加载完成事件 (#1364)
* fix: 文件名大小写

* fix: font load 逻辑

* fix: font 加载问题
2022-10-09 19:43:36 +08:00
YiQianYao d74957a902
fix: 修复拾取高亮状态异常 (#1368)
* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* fix: 修复拾取高亮状态异常

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-10-09 19:22:20 +08:00
YiQianYao 3afb611745
fix: 瓦片事件监听失效 (#1365)
* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* fix: 修复瓦片图层事件失效

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-10-08 10:55:45 +08:00
YiQianYao 48f5f9522a
chore: update version 2.9.29 -> 2.9.30 (#1363)
* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* chore: update version 2.9.29 -> 2.9.30

* chore: add three ignorefile

* chore: update version 2.9.30 -> 2.9.31

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-09-30 17:50:46 +08:00
YiQianYao d491784c26
feat: add l7-three father umd build config (#1361)
* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* feat: add l7-three father/umd

* feat: remove depecenied lib

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-09-29 11:45:37 +08:00
YiQianYao 7fcbb6e9fe
chore: update version 2.9.28 -> 2.9.29 (#1360)
* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* docs: change website url

* chore: update version 2.9.28 -> 2.9.29

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-09-28 19:46:37 +08:00
YiQianYao 33757f05f4
fix: 修复 layer model 更新时候存在闪烁的问题 (#1358)
* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* fix: 优化 layer model 的更新链路,避免闪烁

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-09-28 17:15:15 +08:00
YiQianYao 16dda0a570
chore: update version 2.9.27 -> 2.9.28 (#1357)
* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* chore: update version 2.9.27 -> 2.9.28

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-09-28 14:46:45 +08:00
YiQianYao 8d0f0f7742
fix: 修复更新图层属性 bug (#1356)
* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* chore: add fix demo

* fix: 修复样式更新的状态问题

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-09-27 20:45:37 +08:00
YiQianYao 54bdd69811
feat: 优化瓦片金字塔的计算 (#1355)
* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* feat: opmitize tile cal

* style: lint style

* chore: update api name

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-09-27 20:45:27 +08:00
YiQianYao 4f13cefca3
fix: demo address err (#1351)
* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-09-21 17:20:54 +08:00
YiQianYao cc88ddf600
feat: 设置瓦片多服务重构、支持加载多文件 (#1350)
* 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

* chore: update version 2.9.26 -> 2.9.27-alpha.0

* chore: update version 2.9.27-alpha.0 -> 2.9.27-alpha.3

* feat: 支持 multi raster tile

* feat: add hillshade demo

* feat: 瓦片服务地址设置重构、多文件请求代码优化

* chore: 案例瓦片多服务用法修改

* chore: 类型定义优化 & api rename

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-09-21 16:19:28 +08:00
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
lvisei 3e7ab354ac
build: worker 内联打包添补 (#1338) 2022-09-15 10:18:25 +08:00
YiQianYao 7d796a1940
docs: remove website docs (#1336)
* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* feat: website remove mapbox demos

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-09-13 14:08:42 +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
YiQianYao b43a44844f
docs: website remove mapbox demos (#1334)
* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* feat: website remove mapbox demos

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-09-09 23:26:41 +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
@thinkinggis 1081a15e11
fix: 默认source 配置 (#1331)
* fix: 修改source 为空的问题

* chore: 添加默认渲染
2022-09-08 14:34:13 +08:00
Dreammy23 177d0f48cc
docs: 移除地球模式点图层demo (#1330)
Co-authored-by: Dreammy23 <echo.cmy@antgroup.com>
2022-09-07 15:52:49 +08:00
YiQianYao 1abed43e70
docs: remove website demos (#1328)
* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* docs: remove demos

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-09-07 15:16:59 +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
@thinkinggis 58df737121
chore: 增加覆盖率Ci (#1323)
* chore: 增加覆盖率Ci

* chore: jest locv

* fix: layer 单测样例
2022-09-02 23:08:45 +08:00
YiQianYao 2fe8423939
chore: update version 2.9.25 -> 2.9.26 (#1318)
* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* chore: update version 2.9.25 -> 2.9.26

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-08-30 19:18:44 +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
Jeffrey 6672caaa6d
[chores] Remove unused dependencie (#1314) 2022-08-30 15:37:05 +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