Commit Graph

1100 Commits

Author SHA1 Message Date
yanxiong ed40df09ed feat: 控件 MapStyleControl => MapTheme 2022-08-24 16:29:27 +08:00
yanxiong fecb489681 feat: Scale 宽度发生变化时添加渐变效果 2022-08-24 16:24:10 +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 ae1aa59879
fix: 修复加载高德地图判断加载导致的缓存问题 (#1301)
* fix: 去除 amap 加载的判断

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-08-23 10:36:02 +08:00
yanxiong 239971ddd1 feat: LayerControl 监听 LayerService 图层发生变更时的事件 2022-08-23 10:28:10 +08:00
yanxiong d25b28e894 feat: 1.LayerService 中图层发生变动时触发 layerChange 事件 2022-08-23 09:49:24 +08:00
yanxiong a9ffe40be0 feat: 1. Fullscreen 构造器中对当前环境是否支持全屏进行监测 2022-08-23 09:41:33 +08:00
yanxiong dc6ed9ff6b fix: 1.锁死 screenfull 版本 2.修复 fullscreen 的按钮默认文本和样式问题 2022-08-22 20:35:41 +08:00
yanxiong 29e798a4b3 Merge branch 'fix/AMap_init' into feat/control-yanxiong 2022-08-22 20:18:28 +08:00
yanxiong 693496af42 fix: 修复 AMap 初始化问题 2022-08-22 20:18:13 +08:00
yanxiong 2c0b518c7e chore: 删除无用 Example 2022-08-22 20:16:36 +08:00
yanxiong 42f3ceae1c Merge remote-tracking branch 'origin/master' into feat/control-yanxiong 2022-08-22 20:01:50 +08:00
yanxiong 1ff8eae6ba feat: 新增 LayerControl 组件 2022-08-22 15:48:18 +08:00
yanxiong 61fb8c6966 feat: 1.完成定位组件的开发 2022-08-22 15:47:27 +08:00
qxang cb6dd27471
feat: 兼容不同amapjs 加载方式 (#1265) 2022-08-22 14:08:54 +08:00
yanxiong c7907e5166 feat: 1.完成定位组件的开发 2022-08-19 14:24:50 +08:00
yanxiong eab789e8cf feat: 1.完成截图组件开发 2022-08-19 13:03:51 +08:00
YiQianYao 5c76bea0f5
chore: change publish config (#1297)
* chore: update version 2.9.23 -> 2.9.24

* chore: change test-utils packages.json

* chore: change @antv/l7-test-utils into private

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-08-18 20:20:45 +08:00
YiQianYao 7c4a733e9e
chore: update version 2.9.23 -> 2.9.24 (#1296)
Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-08-18 19:52:39 +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
@thinkinggis 340fd77729
test: 测试用例支持 new scene 对象 (#1291)
* chore: lint unuse

* chore: pre commit command

* chore: pre-commit 去除build 命令

* fix: 修复unuse import

* test: 增加gl 模拟能力

* fix: lint error

* chore: 提取测试utils 为单独包

* chore: 调整测试覆盖率值
2022-08-18 10:19:12 +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
yanxiong 0926c2bbfd feat: 完成 fullscreen 组件的开发 2022-08-17 14:29:12 +08:00
yanxiong 53e038bdb8 feat: 1.新增 PopperControl 和 ButtonControl 的 setOptions 方法 2.完成 Logo 组件的升级开发 2022-08-17 12:59:34 +08:00
yanxiong a5cf7469d3 fix: 1. Popper 参数 closeOther => unique 2. 补充方法注释 2022-08-16 21:04:30 +08:00
yanxiong 2f24c90b9a fix: 去除选中后关闭气泡的配置项 2022-08-16 19:10:10 +08:00
yanxiong 4c2f28e1b5 fix: 修复 PopperControl trigger 为 hover 时,气泡消失异常问题 2022-08-16 19:01:04 +08:00
yanxiong e5097aa3e2 fix: 修复丢失代码 2022-08-16 16:55:41 +08:00
yanxiong d6b684aad2 fix: 解决冲突问题 2022-08-16 16:52:33 +08:00
yanxiong 3840d9850b feat: 1. SelectControl 开发完成 2022-08-16 16:47:37 +08:00
yanxiong f8bfe8b953 feat: 1.完善 popper 自动判定位置能力 2022-08-16 11:51:09 +08:00
@thinkinggis cfb105a2aa
Chore: lint warn 移除未使用的import (#1287)
* chore: lint unuse

* chore: pre commit command

* chore: pre-commit 去除build 命令

* fix: 修复unuse import
2022-08-16 10:37:55 +08:00
yanxiong 5686322975 feat: 完成 popper UI测逻辑 2022-08-15 21:09:11 +08:00
yanxiong 01245b4753 feat: 新增 popperControl 控件基类 2022-08-14 09:27:20 +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
yanxiong 06e757f9fc Merge remote-tracking branch 'origin/master' into feat/control-yanxiong 2022-08-11 15:55:21 +08:00
yanxiong b504c8c263 feat: 完善 ButtonControl 基类 2022-08-11 15:55:13 +08:00
YiQianYao b5747e4a91
feat: add test case (#1286)
Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-08-11 14:05:11 +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
yanxiong 0742919292 fix: 解决冲突问题 2022-08-11 13:57:51 +08:00
YiQianYao 089d172324
feat: 新增枚举类型的色带 (#1283)
Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-08-11 11:19:09 +08:00
@thinkinggis 26e503ed27
chore: lint check (#1284)
* 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 相关配置

* chore: 合并ci 任务

* fix: lint error

* fix: lint command

* chore: ci test & lint
2022-08-11 11:18:07 +08:00
yanxiong c636dc7684 feat: 1.新增 ButtonControl 基类 2.完成 Fullscreen UI 开发 2022-08-10 20:52:02 +08:00
yanxiong 7c401b8a25 fix: 还原 eslintrc 变更 2022-08-10 17:04:45 +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
yanxiong d84316426e feat: 1.修复控件布局问题 2.拆分 BaseControl 样式文件 3.新增 Control 文档 2022-08-10 14:58:40 +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
yanxiong 50192bbf95 Merge remote-tracking branch 'origin/master' into feat/control
# Conflicts:
#	packages/component/package.json
#	packages/utils/package.json
2022-08-09 19:29:44 +08:00
yanxiong eaec6bc4ae fix: l7-utils 添加对 lodash 的依赖 2022-08-09 19:24:48 +08:00
YiQianYao 15767e48bc
chore: 修改 tslint 依赖配置 (#1277)
* chore: update version 2.9.21 -> 2.9.22-alpha.0

* chore: publish

* chore: update version beta - patch

* chore: 修改 tslint 依赖配置

* chore: publish

* chore: update version

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-08-09 16:05:40 +08:00
YiQianYao b1526abc2f
chore: update version 2.9.21 -> 2.9.22 (#1276)
* chore: update version 2.9.21 -> 2.9.22-alpha.0

* chore: publish

* chore: update version beta - patch

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-08-09 14:37:09 +08:00
yanxiong 5f72eabddc feat: 合并代码 2022-08-09 11:38:35 +08:00
yanxiong af1cc12950 feat: 1.BaseControl 升级 2022-08-09 11:27:35 +08:00
YiQianYao e77abaf8af
chore: remove lib (#1275)
* chore: remove lib

* chore: remove lib

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-08-08 16:52:17 +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
YiQianYao d52765b35a
feat: export BaseModel to support CustomLayer (#1274)
* chore: 修改引用

* style: lint style

* feat: export BaseModel to support custom layer

* style: lint style
2022-08-08 16:32:50 +08:00
yanxiong 78f93c8e13 build: 将 css 迁移至 less 中 2022-08-08 16:32:07 +08:00
yanxiong dffb3c1dc6 feat: 1.BaseControl 升级 2022-08-08 16:03:23 +08:00
YiQianYao 93d8ec2cf3
chore: update version 2.9.20 -> 2.9.21 (#1272)
* chore: 修改引用

* style: lint style

* chore: update version 2.9.20 -> 2.9.21
2022-08-05 17:18:32 +08:00
YiQianYao 8831641e5d
feat: 对线图层 linear 和 blur 的增强 (#1271)
* chore: 修改引用

* style: lint style

* feat: 完善线图层的渐变方向配置

* style: lint style

* feat: 完善线图层的 blur 配置

* style: lint style
2022-08-05 16:50:50 +08:00
YiQianYao 8159819e98
chore: update version 2.9.19 -> 2.9.20 (#1270)
* chore: 修改引用

* style: lint style

* chore: update version 2.9.19 -> 2.9.20
2022-08-03 19:31:48 +08:00
YiQianYao 36a228062d
fix: fix simple line err (#1269)
* chore: update version 2.9.18 -> 2.9.19

* chore: 修改引用

* style: lint style

* fix: 修复 simple line 失效

* style: lint style
2022-08-03 19:08:46 +08:00
YiQianYao 6f8162fa36
chore: update version 2.9.18 -> 2.9.19 (#1266)
* chore: update version 2.9.18 -> 2.9.19

* chore: 修改引用

* style: lint style
2022-08-02 19:23:40 +08:00
YiQianYao 6a04210de6
feat: 渲染流程异步改造、部分支持 worker (#1224)
* feat: 去处事件节流

* feat: 创建图层流程改造 + worker 功能验证

* style: lint style

* feat: 修改 worker 引入

* feat: 调整 worker 的拼接

* style: lint style

* feat: 修改 source 构建流程为异步

* style: lint style

* feat: 在点图层中去除 global 的耦合

* style: lint style

* fix: 修复更新 style 的同时更新了 option 带来的问题

* style: lint style

* feat: 拆除 arc3d 地球模式和普通模式的耦合

* style: lint style

* feat: 修改 worker

* style: lint style

* feat: 优化图层创建渲染流程

* style: lint style

* Merge branch 'workspace' into tileDemo

* style: style lint

* feat: 改在点图层的创建流程

* style: lint style

* style: lint style

* chore: worker helper (#1241)

* chore: worker helper

* chore: 修改注册流程

* chore: 修改打包方式

* chore: 集成打包环境

* style: lint style

* feat: add worker pool failed

* style: lint style

* style: lint style

* feat: 更新 worker 的使用

* chore: 更新 scripts 标签 (#1242)

* feat: remove utils triangulation

* feat: 完成 pointLayer/earthLayer 的异步改造

* style: lint style

* style: lint style

* style: lint style

* chore: 修改 worker 执行函数 (#1246)

* chore: 修改 worker 执行函数

* chore: remove console

* feat: 完成线图层和线图层的异步创建流程改造

* style: lint style

* style: lint style

* feat: 完成 polygon 创建流程的异步改造

* style: lint style

* feat: 完成 heatmap 创建流程的异步改造

* style: lint style

* feat: 完成 citybuildingLayer 图层创建的异步改造

* style: lint style

* feat: 完成 imageLayer 创建异步改造

* style: lint style

* feat: 完成 ImageLayer/RasterLayer 创建的异步改造

* style: lint style

* feat: 完成 geometryLayer 创建的异步改造

* style: lint style

* feat: 完成 WindLayer 创建的异步改造

* style: lint style

* feat: 完成 tileLayer 瓦片图层创建图层的异步改造

* style: lint style

* feat: 调整 worker 调用的参数和 worker 代码的位置

* style: lint style

* chore: 调整 worker 代码结构

* style: lint style

* feat: 梳理完善 layer 的 modelName

* style: lint style

* chore: 调整部分 modeName 的命名

* feat: 线图层的 lineModel 支持 worker 计算

* style: lint style

* feat: 完善 source 异步改造,增加测试

* style: lint style

* feat: 支持 polygonFill 的 worker 计算

* style: lint style

* feat: tile point/line/polygon 支持 worker 计算

* style: lint style

* chore: 调整 worker 目录结构

* style: lint style

* chore: 修改 worker 打包路径

* feat: 增加 ISrource 时间的类型定义

* chore: change function getPureDescriptors -> getDescriptorsWithOutFunc

* feat: 完善类型定义,去除额外 worker 代码

* chore: worker 注册放到 utils 里面 (#1253)

* chore: 代码清理

* style: lint style

* fix: 修复 encodeData 可能的空值

* feat: 地球模式的点、线图层兼容写法

* style: lint style

* feat: 完成对 dataImage 的异步改造

* fix: 修复 demo 中对时序数据的使用

* style: lint style

* fix: 修复点图层文字重新布局未重绘问题

* fix: 修复 pointLayer fillImage 失效

* style: lint style

* chore: 在官网 demo 中去除 multipass

* chore: 调整官网 demo 效果

* style: lint style

* chore: 调整官网 demo

* style: lint style

* fix: 修复 layerModel 使用的报错

* chore: update l7plot version

Co-authored-by: lvisei <yunji.me@outlook.com>
2022-08-02 19:05:27 +08:00
YiQianYao 1a78586ee2
feat: 优化风场图层的显示效果 (#1263)
* feat: 优化风场图层效果

* style: lint style
2022-07-29 17:16:46 +08:00
YiQianYao 9c9fa85cd3
chore: update version 2.9.17 -> 2.9.18 fix bug (#1261) 2022-07-29 14:26:05 +08:00
YiQianYao fddbd36823
fix: fix dash line shader compile (#1260) 2022-07-29 14:19:57 +08:00
YiQianYao 656fd033f7
chore: update version 2.9.16 -> 2.9.17 (#1258) 2022-07-28 19:12:43 +08:00
YiQianYao 043d30ecfb
feat: 修复bug,新增图片瓦片的像素映射 (#1257)
* feat: 弧线图层/大圆弧线图层 虚线效果优化

* style: lint style

* fix: 修复 simpleLine linear 失效

* style: lint style

* feat: 优化 simple line 网格构建

* style: lint style

* style: lint style

* style: lint style

* feat: 新增图片图层的像素映射

* feat: 图片瓦片图层支持像素的颜色映射

* style: lint style
2022-07-28 19:05:51 +08:00
YiQianYao 8b1bf92108
chore: publish 2.9.14 -> 2.9.16 (#1244)
* chore: update version 2.9.14 -> 2.9.16

* fix: 修复 d3-interpolate 版本问题
2022-07-19 15:14:10 +08:00
John Jiang d708d50226
Upgrade @mapbox/geojson-rewind (#1141)
Co-authored-by: YiQianYao <42212176+2912401452@users.noreply.github.com>
2022-07-19 14:20:15 +08:00
YiQianYao 6ccf43c8a7
fix: 修复 webgl context lost (#1243)
* feat: 修复 webgl context lost

* style: lint style
2022-07-19 14:19:00 +08:00
YiQianYao 8f13c60c58
chore: update version 2.9.13 -> 2.9.14 (#1236)
* feat: 在点图层中去除 global 的耦合

* style: lint style

* fix: 修复更新 style 的同时更新了 option 带来的问题

* style: lint style

* feat: 拆除 arc3d 地球模式和普通模式的耦合

* style: lint style

* chore: update version 2.9.13 -> 2.9.14
2022-07-14 15:52:42 +08:00
YiQianYao aad31d37bb
fix: 修复 option 错误、shader 路径错误 (#1235)
* feat: 在点图层中去除 global 的耦合

* style: lint style

* fix: 修复更新 style 的同时更新了 option 带来的问题

* style: lint style

* feat: 拆除 arc3d 地球模式和普通模式的耦合

* style: lint style

* fix: 修复 earthExtrude shader 路径错误、option 更新错误

* style: lint style
2022-07-14 15:41:14 +08:00
YiQianYao c2812205c5
feat: 去除 style 更新时 options 的更新、earth 图层解耦 (#1232)
* feat: 在点图层中去除 global 的耦合

* style: lint style

* fix: 修复更新 style 的同时更新了 option 带来的问题

* style: lint style

* feat: 拆除 arc3d 地球模式和普通模式的耦合

* style: lint style
2022-07-14 14:47:52 +08:00
YiQianYao 0a9ad6c6f7
chore: update version 2.9.12 -> 2.9.13 (#1230) 2022-07-12 19:35:45 +08:00
@thinkinggis 0604ef3527
Fix cluster issue (#1228)
* fix: d3 依赖版本ie 兼容问题

* chore: 修复冲突

* fix(cluster layer): 聚合图更新

* fix: 代码格式

* chore: 移除ci mirror giteee ghpage 同步

* chore: pakagejson
2022-07-12 19:25:36 +08:00
YiQianYao e7c5ba79ed
feat: add halfLine model (#1229)
* feat: add halfLine model

* style: lint style

* chore: 修改数据映射中箭头构建的判断

* style: lint style
2022-07-12 19:24:23 +08:00
YiQianYao ef683c9142
fix: 修复 option 参数未同步 style 更新导致的配置失效 (#1226)
* feat: 去处事件节流

* fix: 修复 option 参数未同步 style 更新导致的配置失效

* style: lint style
2022-07-08 17:45:55 +08:00
YiQianYao 0df9edfbb5
chore: update version 2.9.10 -> 2.9.11 (#1223)
* feat: 去处事件节流

* chore: update version 2.9.10 -> 2.9.11
2022-07-07 14:48:12 +08:00
YiQianYao 107b6a38e0
feat: 优化、修复点图层等面积点模式 (#1222)
* feat: 去处事件节流

* feat: 修复、优化等面积点存在的问题和可视化表现

* style: lint style

* style: lint style
2022-07-07 14:29:46 +08:00
YiQianYao 6dde6c9c7f
chore: update version 2.9.9 -> 2.9.10 (#1218)
* feat: 去处事件节流

* chore: update version 2.9.9 -> 2.9.10
2022-07-01 17:42:48 +08:00
@thinkinggis ecbd4d52ce
fix: d3 依赖版本ie 兼容问题 (#1216) 2022-07-01 17:22:31 +08:00
heiyexing ee886d70c7
fix: 1. L7Draw 对应 Github 和 文档地址变更 (#1215)
Co-authored-by: yanxiong <oujinhui.ojh@antgroup.com>
2022-07-01 14:34:21 +08:00
YiQianYao 0509e3a76a
chore: update version 2.9.8 -> 2.9.9 (#1214)
* feat: 去处事件节流

* chore: update version 2.9.8 -> 2.9.9

* chore: change license

* chore: change gitleaks config

* chore: change gitleaks config

* chore: change gitleaks config
2022-07-01 13:02:15 +08:00
YiQianYao be3e8de28b
chore: 升级 pbf 依赖版本 (#1213)
* feat: 去处事件节流

* chore: 升级 pbf 依赖
aa#
2022-07-01 10:36:04 +08:00
YiQianYao fe314c22dc
fix: 修复 scene 销毁导致的 bug (#1210)
* feat: 去处事件节流

* fix: 修复 scene 销毁时候存在的 bug
2022-06-30 14:50:13 +08:00
lvisei 57eb8a21ed
feat: 支持多域名瓦片服务地址 (#1206)
* feat: 支持多域名瓦片服务地址

* chore: 格式化代码
2022-06-30 14:50:00 +08:00
YiQianYao bf4d22513d
feat: merge workspace (tile) (#1204)
Co-authored-by: lvisei <yunji.me@outlook.com>
2022-06-30 11:44:46 +08:00
YiQianYao bb71fe2421
chore: update version 2.8.46 -> 2.8.47 (#1176)
* feat: 去处事件节流

* chore: update version 2.8.46 -> 2.8.47
2022-06-22 16:23:56 +08:00
lvisei d29bcfb9fd
chore: 透出组件类型定义 (#1175)
* chore: 透出组件类型定义

* chore: 修复类型导出问题

* chore: 代码格式化
2022-06-22 15:29:05 +08:00
YiQianYao c8720ebda5
feat: sprite 粒子增加运动边界参数 spriteBottom (#1174)
* feat: 去处事件节流

* feat: sprite 补充参数
2022-06-22 10:59:32 +08:00
lvisei 8ee39b63c3
chore: 透出组件类型定义 (#1156) 2022-06-22 10:59:15 +08:00
YiQianYao 4a86642405
chore: update version 2.8.45 -> 2.8.46 (#1170)
* feat: 去处事件节流

* fix: 修复热力图点被拉伸的问题

* style: lint style

* chore: update version 2.8.45 -> 2.8.46
2022-06-21 10:09:39 +08:00
YiQianYao 1cdbba571d
fix: 修复热力图点被拉伸的问题 (#1169)
* feat: 去处事件节流

* fix: 修复热力图点被拉伸的问题

* style: lint style
2022-06-20 23:06:16 +08:00
YiQianYao 1598cb143b
chore: upodate version 2.8.44 -> 2.8.45 (#1152)
* feat: 去处事件节流

* chore: update version 2.8.44 -> 2.8.45
2022-06-15 15:55:07 +08:00
YiQianYao 9417a24484
feat: 去处事件节流 (#1151) 2022-06-15 15:25:58 +08:00
YiQianYao 8012a6b7f1
chore: update version 2.8.43 -> 2.8.44 (#1150) 2022-06-15 11:46:46 +08:00
YiQianYao a18c742d2c
fix: 修复一些问题 (#1149)
* fix: 完善 hammerjs 事件的解除监听

* fix: 在事件节流中排除 dblclick

* fix: polygon 采用双面渲染
2022-06-15 11:18:31 +08:00
YiQianYao 818e0ac8a1
chore: update version 2.8.42 -> 2.8.43 (#1148)
* chore: update version 2.8.41 -> 2.8.42

* chore: update version 2.8.42 -> 2.8.43
2022-06-14 10:21:36 +08:00
@thinkinggis 254aa6c349
Fix: 高德地图坐标转换 (#1147)
* fix: d3 依赖版本ie 兼容问题

* chore: 经纬度转平面坐标方法
2022-06-13 10:13:04 +08:00
YiQianYao 1663502b1d
chore: update version 2.8.41 -> 2.8.42 (#1146) 2022-06-09 23:33:56 +08:00
YiQianYao 594fee096e
fix: IE11 兼容测试 (#1145)
* fix: 修复 L7 在 IE11 的兼容问题

* style: lint style

* fix: 兼容 IE 获取 globalThis
2022-06-09 19:09:30 +08:00
YiQianYao a405cac6b7
fix: 修复样式数据映射失效 (#1143)
* fix: 修复样式数据映射失效

* style: lint style
2022-06-07 17:47:56 +08:00
YiQianYao 7b6879067d
chore: update version 2.8.40 -> 2.8.41 (#1138) 2022-05-31 16:08:50 +08:00
YiQianYao eec1ab4cbd
feat: 高德2动态设置中心点 (#1137) 2022-05-31 15:56:44 +08:00
YiQianYao 57dffcfc15
chore: 修改 d3-interpolate 类型定义依赖版本 (#1136)
* style: lint style

* chore: 修改 d3-interpolate 类型定义文件
2022-05-31 15:22:23 +08:00
YiQianYao 8400d2464c
chore: update version 2.8.39 -> 2.8.40 (#1135)
* fix: 修复 mouseup 失效

* chore: update version 2.8.36 -> 2.8.37

* chore: update version 2.8.37 -> 2.8.38

* fix: 修复高德2动态顶点错误

* chore: update version 2.8.38 -> 2.8.39

* fix: 修复计算图层数据中心点时可能存在的计算错误

* style: lint style

* chore: update version 2.8.39 -> 2.8.40
2022-05-31 15:04:02 +08:00
YiQianYao 9fafa41522
fix: 修复计算图层数据中心点时可能存在的计算错误 (#1134)
* fix: 修复 mouseup 失效

* chore: update version 2.8.36 -> 2.8.37

* chore: update version 2.8.37 -> 2.8.38

* fix: 修复高德2动态顶点错误

* chore: update version 2.8.38 -> 2.8.39

* fix: 修复计算图层数据中心点时可能存在的计算错误

* style: lint style
2022-05-31 14:52:37 +08:00
@thinkinggis b05606506b
fix: d3 依赖版本ie 兼容问题 (#1133) 2022-05-31 14:11:41 +08:00
YiQianYao 0f665001da
fix: 修复引入高德2动态设置中心点导致的问题 (#1131)
* fix: 修复 mouseup 失效

* chore: update version 2.8.36 -> 2.8.37

* chore: update version 2.8.37 -> 2.8.38

* fix: 修复高德2动态顶点错误
2022-05-30 23:06:55 +08:00
YiQianYao e10aa5aac8
fix: 修复高德2 动态点位引发的 bug (#1130) 2022-05-30 22:47:52 +08:00
lvisei abe00491ad
fix: 修复 layer 包入口文件依赖注入有副作用影响 (#1125) 2022-05-30 14:56:54 +08:00
YiQianYao 66f4166e58
fix: 修复挤出几何体侧面渐变错误 (#1128)
* fix: 修复 mouseup 失效

* fix: 修复 polyogn 侧面颜色出错
2022-05-28 18:10:10 +08:00
@thinkinggis b82e4c250a
chore: scale 升级优化 (#1126)
* fix: 添加core Layer inteface export & 增加 scale demo

* fix: 添加core Layer inteface export & 增加 scale demo

* chore: 优化数据映射模块

* feat(scale): dIVERGING 支持设置中间值
2022-05-27 16:00:16 +08:00
YiQianYao 6f6396f0cd
feat: 支持动态配置坐标原点 (#1124)
* fix: 修复 mouseup 失效

* feat: 高德2 支持动态配置坐标原点

* style: lint style

* feat: 提取高德 2.0 投影方法

* style: lint style

* chore: change parameter name
2022-05-25 18:50:54 +08:00
@thinkinggis 7032e19d92
fix: 图层事件添加事件类型定义 (#1104)
* fix(layer): 添加layer event type 支持时间类型提示'

* fix: lint error

* Update ILayerService.ts

Co-authored-by: YiQianYao <42212176+2912401452@users.noreply.github.com>
2022-05-23 18:54:27 +08:00
@thinkinggis efab24185c
Fix 接口导出 (#1120)
* fix: 添加core Layer inteface export & 增加 scale demo

* fix: 添加core Layer inteface export & 增加 scale demo
2022-05-23 18:45:45 +08:00
YiQianYao 00005f1147
feat: 发布打包代码调整 (#1117)
* fix: 修复 mouseup 失效

* chore: update version 2.8.35 -> 2.8.36

* fix: fix bboxPolygon conflict

* fix: fix bboxPolygon conflict

* feat: add utils turf dependencies

* fix: change rollup build config

* feat: 替换 turf/bbox-polygon 的引入方式

* feat: add turf bboxpolygon dependencies

* feat: change TileLoadParams interface export

* style: lint style

* feat: change TilesetManagerOptions interface export

* style: lint style

* feat: rename tilebboxPolygon -> bboxPolygon

* feat: rename tilebboxPolygon -> bboxPolygon

* fix: 解决 rollup 打包问题

Co-authored-by: yunji <yunji.me@outlook.com>
2022-05-23 18:31:20 +08:00
lvisei c209c13c1d
fix: 补全 ISource 接口定义 (#1118)
* fix: 修复 setData 参数缺失

* fix: 类型缺失属性

* chore: 补全 ISource 接口定义
2022-05-23 17:56:36 +08:00
YiQianYao 29d7715000
feat: 优化代码,使用 Array.includes 代替 || (#1115)
* fix: 修复 mouseup 失效

* feat: 优化 pickingService 的节流操作

* style: lint style
2022-05-18 10:30:39 +08:00
YiQianYao db1940be1f
fix: 修复 mouseup 失效 (#1114) 2022-05-17 22:58:21 +08:00
YiQianYao a6ab68a12e
fix: 修复拾取状态残留导致的拾取高亮错误 (#1105)
* fix: clear last pick state before pick

* style: lint style
2022-05-11 10:05:35 +08:00
lvisei c5b3e22677
feat: 新增 RasterTileLayer 栅格瓦片图层 (#1092)
* chore: update version 2.8.30 -> 2.8.31

* feat: 新增 rasterTile parser

* style: lint style

* style: lint style

* refactor: 修改参数类型

* feat: 新增瓦片数据管理方法/新增栅格瓦片图

* feat: 矢量瓦片图层

* feat: 新增 RasterTileLayer 栅格瓦片图层

* docs: examples

* chore: tileset destroy

* chore: update strategy

* fix: 修复瓦片注销

* refactor: 修改瓦片更新部分代码

* style: lint style

* feat: 完善 LayerGroup 的类型定义

* refactor: 重构 rasterTIleLayer,迁移到 rasterLayer,清除多余部分

* style: lint style

* docs: 官网 tile demo 修改

* feat: rasterLayer tle support styles

* feat: raster tile layer support styles

* style: lint style

Co-authored-by: 2912401452 <2912401452@qq.com>
Co-authored-by: YiQianYao <42212176+2912401452@users.noreply.github.com>
2022-05-09 15:10:12 +08:00
lvisei 58d8acac38
ci: 新增 release label action (#1097)
* chore: new scripts dir

* ci: 新增 release label action

* ci: 修改部署 token
2022-05-06 20:17:51 +08:00
YiQianYao ceca2404cf
chore: clean code (#1099)
* feat: clean billboard code

* feat: clean image code

* feat: clean maskLayer code

* style: lint style

* feat: clean raster code

* feat: clean package.json devDependencies

* feat: clean gatsby-browser lib

* feat: clean windLayer code

* style: lint style

* feat: clean polygon/ocean code

* feat: clean polygon/water code

* feat: clean polygon/fill code

* style: lint style

* feat: clean polygon/fill code

* feat: clean polygon/extrude

* feat: clean pointLayer/fillImage code

* style: lint style

* feat: clean pointLayer/image code

* feat: clean pointLayer/normal code

* feat: clean pointLayer/radar code

* feat: clean pointLayer/simplepoint code

* feat: clean pointLayer/extrude code

* style: lint style

* feat: clean pointLayer/fill code

* feat: clean pointLayer/text code

* feat: clean lineLayer/simple code

* feat: clean lineLayer/wall code

* feat: clean lineLayer code

* feat: clean lineLayer/line code
2022-05-06 20:16:58 +08:00
YiQianYao e44ba06eae
feat: sprite 优化,取消拾取,允许不设置 source (#1098)
* refactor: 修改 StyleAttributeField 的类型定义,允许图层在未设置 source 的时候设置 size

* feat: sprite cancel picking capacity
2022-05-06 20:12:55 +08:00
YiQianYao 936ac40d36
docs: update l7 package readme.md (#1096) 2022-05-05 18:53:26 +08:00
YiQianYao 5fe152723a
chore: update version 2.8.34 -> 2.8.35 (#1094)
* chore: update version 2.8.30 -> 2.8.31

* chore: update version 2.8.34 -> 2.8.35
2022-05-05 10:49:41 +08:00
YiQianYao 3f6327b57d
feat: change mapbox token (#1093)
* chore: update version 2.8.30 -> 2.8.31

* feat: change mapbox token
2022-05-05 10:37:17 +08:00
YiQianYao 3e7efa04a8
feat: 新增公告牌 geometry (#1091)
* chore: update version 2.8.30 -> 2.8.31

* feat: 新增公告牌图层

* style: lint style
2022-05-05 10:32:01 +08:00
YiQianYao bfe95589e2
chore: publish (#1088)
* chore: update version 2.8.30 -> 2.8.31

* chore: update version 2.8.33 -> 2.8.34
2022-04-27 19:45:05 +08:00
YiQianYao 74560c1487
fix: 修复 compoent loadsh 依赖 缺失 (#1087)
* chore: update version 2.8.30 -> 2.8.31

* fix: 修复 component loadsh 依赖缺失
2022-04-27 19:13:09 +08:00
YiQianYao 061935a1ba
feat: 新增支持多渐变色多线图层 (#1086)
* chore: update version 2.8.30 -> 2.8.31

* feat: 新增多渐变色线图层

* style: lint style
2022-04-27 19:10:08 +08:00
YiQianYao c40518677d
feat: 经典热力图、点图层普通点支持动态设置 modelData (#1084)
* chore: update version 2.8.30 -> 2.8.31

* feat: 经典热力图、点图层普通点支持动态设置 modelData

* style: lint style

* refactor: 调整热力图 modelData 更新方法的实现

* style: lint style
2022-04-27 14:50:41 +08:00
YiQianYao 44bfbfe803
publish: update version 2.8.32 -> 2.8.33 (#1081) 2022-04-25 19:53:22 +08:00
YiQianYao aa2e9540de
feat: 图层新增 creatModelData 与 updateModelData 方法 (#1064)
* feat: 支持提前计算 attribute/elements 并更新 models

* style: lint style

* feat: 支持 lineLayer 的 models 更新 attributes/elements

* style: lint style

* chore: update version 2.8.30 -> 2.8.31

* feat: 完善 geometry 加载地形的 lod

* style: lint style

* feat: rename func updateMudelsData to updateModelData

* feat: pointLayer simple 支持 initModelData/updateModelData

* feat: 增加顶点更新 demo

* style: lint style

* feat: reset func name => initModelData => createModelData
2022-04-25 19:36:58 +08:00
YiQianYao 90f92f069b
fix: canvas layer issues fixed (#1080)
* chore: update version 2.8.30 -> 2.8.31

* feat: 修复 canvasLayer hide/show 方法的失效

* fix: 修复 canvasLayer 在销毁时候的问题

* style: lint style
2022-04-25 15:11:34 +08:00
YiQianYao 15dc2366de
chore: update vetsion 2.8.31 -> 2.8.32 (#1078)
* chore: update version 2.8.30 -> 2.8.31

* chore: update version 2.8.31 -> 2.8.32

* style: lint style
2022-04-24 17:06:33 +08:00
YiQianYao 9f075803fb
feat: polygon fill/point wave support raisingHeight、polygon add topsurface/sidesurface (#1074)
* chore: update version 2.8.30 -> 2.8.31

* feat: polygon fill 支持配置 raisingHeight

* feat: polygon extrude 支持配置 side/top 的显隐

* feat: pointLayer fill/wave support raisingHeight

* style: lint style

* docs: update demo

* feat: update demo
2022-04-24 14:14:47 +08:00
YiQianYao 673952e563
chore: update version 2.8.30 -> 2.8.31 (#1070) 2022-04-21 14:42:32 +08:00
YiQianYao a37b33a988
Polygonside (#1069)
* feat: polygon extrude mode support set linear color

* style: lint style
2022-04-21 13:58:42 +08:00
YiQianYao ef0aadd339
feat: 给场景新增 getPickedLayerId 方法 (#1066)
* feat: scene 新增获取拾取选中的 layer id

* style: lint style
2022-04-21 13:02:58 +08:00
2912401452 48c0deb562 chore: update version 2.8.29 - >2.8.30 2022-04-19 11:03:38 +08:00
YiQianYao 40747682e2
fix: 修复虚线失效 (#1061) 2022-04-19 11:01:30 +08:00
2912401452 67e84c022f chore: update version 2.8.28 -> 2.8.29 2022-04-18 19:10:53 +08:00