Commit Graph

1105 Commits

Author SHA1 Message Date
@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
@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
YiQianYao 4e7a90e2ee
feat: 修改 simple line 的网格构建和渲染方式 (#1288)
Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-08-11 17:31:24 +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
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
@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
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
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
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
YiQianYao 4b5e86a009
增加线图层在配置箭头的时候支持配置线尾部宽度 (#1060)
* feat: 线图层的箭头模式支持配置尾部宽度

* style: lint style
2022-04-18 17:53:39 +08:00
YiQianYao 0d51eb642f
为点图层补充 blur 配置 (#1059)
* feat: 补充 pointLayer/blur

* style: lint style
2022-04-18 16:54:41 +08:00
YiQianYao 0de9378188
fix MarkerLayer addMarker not update (#1058)
* feat: 修复 maskerLayer 在调用 addMarker 后没有更新的情况(cluster)

* style: lint style
2022-04-18 15:19:33 +08:00
lvisei a22a15b744
chore: 兼容高德地图 V2 矢量瓦片样式 (#1057) 2022-04-18 14:21:38 +08:00
2912401452 ea833ea8a2 chore: update version 2.8.27 -> 2.8.28 2022-04-15 17:09:50 +08:00
YiQianYao c4c59abddf
Shihui (#1056)
* feat: 增强 scene.addLayer 方法

* feat: 完善 scene.addLayer 方法

* feat: 新增粒子图层

* style: lint style
2022-04-15 16:36:48 +08:00
2912401452 fa0d15878e chore: update version 2.8.26 -> 2.6.27 2022-04-13 16:17:41 +08:00
YiQianYao a0ef1a2499
fix: 修复 使用过mask 没有设置 maskfence 导致的问题 (#1052) 2022-04-13 16:14:31 +08:00
2912401452 6cfa48438f chore: update version 2.8.25 -> 2.8.26 2022-04-13 15:17:32 +08:00
2912401452 413454b063 Merge branch 'master' of https://github.com/antvis/L7 2022-04-13 15:13:55 +08:00
YiQianYao 5db1e2b1bd
refactor: Mask 重构与 LayerGroup 实现 (#1030)
* feat: 完善 layer 销毁时的资源回收

* style: lint style

* feat: 完善 ocean 纹理销毁

* refactor: 重构 mask

* style: lint style

* feat: change demos

* style: lint style

* feat: 销毁 maskLayer 的时候同时清除画布(包括模版缓存)

* feat: 清除 imageTile 本身的无用渲染

* feat: 调整 layerGrouop 的渲染规则、增加 removeMask & rebuild model

* style: lint style

* feat: 调整 mask 和 layer 的关联方法

* feat: 调整 mask 配置的方式

* style: lint style

* feat: 完善 layer mask 渲染判断和销毁
2022-04-13 15:13:29 +08:00
2912401452 730e90057a chore: update version 2.8.24 -> 2.8.25 2022-04-13 11:47:10 +08:00
YiQianYao d4d2068150
Arrow (#1051)
* fix: 修复 GeometryLayer 失效

* feat: 线图层支持箭头样式

* style: lint style

* feat: 增加注释

* feat: 变量名替换
2022-04-13 11:43:51 +08:00
2912401452 791b99035b chore: update version 2.8.23 -> 2.8.24 2022-04-11 20:01:44 +08:00
2912401452 33f0d60ece fix: fix wave point shader err 2022-04-11 19:58:14 +08:00
2912401452 6c1f7dd34b fix: fix wavePointPoint 2022-04-11 19:55:42 +08:00
2912401452 e94d7c069f chore: update version 2.8.22 -> 2.8.23 2022-04-11 19:42:35 +08:00
YiQianYao 0e0926acb6
M (#1050)
* feat: 使用 Array.isArray 代替 loadsh 的 isArray

* docs: 完善季风demo

* docs: 完善 fillImage 关于 rotate 方法的文档

* style: lint style

* fix: 修复水波点效果、修复 amap2 marker 显示效果

* style: lint style
2022-04-11 19:40:31 +08:00
YiQianYao f920c7a92c
Set data (#1047)
* feat: 完善 dataArray 的处理逻辑

* style: lint style
2022-04-08 18:58:13 +08:00
2912401452 f088f85db1 chore: update version 2.8.21 -> 2.8.22 2022-04-08 16:29:07 +08:00
2912401452 4778449f37 style: lint style 2022-04-08 16:14:18 +08:00
2912401452 0dd2b14153 feat: 增强 setData 的使用,使之有更高的自由度 2022-04-08 16:13:06 +08:00
2912401452 e296c52587 fix: 修复 setZoomAndCenter/setZoom 缩放层级不同的问题 2022-04-08 14:18:56 +08:00
2912401452 3d71d65fa1 style: lint style 2022-04-07 18:42:45 +08:00
2912401452 bc92f70873 Merge branch 'master' of https://github.com/antvis/L7 2022-04-07 16:56:52 +08:00
YiQianYao a03b41787b
Shihuidev (#1043)
* feat: fillImage 支持自由设置图标的旋转角度

* style: lint style

* feat: 增加对 pointLayer 的 shape 切换支持
2022-04-07 16:55:31 +08:00
2912401452 33cc1061bc chore: update version 2.8.20 -> 2.8.21 2022-04-07 15:51:32 +08:00
YiQianYao be80c6525d
Shihuidev (#1042)
* feat: fillImage 支持自由设置图标的旋转角度

* style: lint style
2022-04-07 15:45:12 +08:00
2912401452 1b4784d514 chore: update version 2.8.19 -> 2.8.20 2022-04-06 16:02:33 +08:00
YiQianYao 3369cd83cc
Shihuidev (#1041)
* feat: 完善线图层的 heightfixed 配置

* style: lint style

* docs: 完善官网 demo

* docs: 完善官网文档

* style: lint style
2022-04-06 15:33:11 +08:00
2912401452 8e628c3464 chore: update version 2.8.18 -> 2.8.19 2022-04-02 16:39:10 +08:00
YiQianYao 65b70c19dd
Changemarker (#1039)
* fix: 修复 Marker GaodeMapV2 在移动端的事件失效

* fix: 修复 iconfont 偏移

* fix: 修复销毁场景时候 webgl 实例未被销毁的问题

* style: lint style
2022-04-02 16:23:54 +08:00
2912401452 298bec190c style: lint style 2022-03-30 16:18:19 +08:00
2912401452 bbc53e1680 feat: 修改 geuCullFace 的依赖 2022-03-30 16:16:42 +08:00
2912401452 95cecda948 chore: update version 2.8.17 -> 2.8.18 2022-03-30 16:08:04 +08:00
YiQianYao 2fff09ca2d
Shihui (#1027)
* fix: 修复 layer 在触发 dataUpdate 时映射没有完成的问题

* style: lint style

* feat: lineLayer 支持动态配置 depth (是否开始深度)

* feat: 各个图层开启背面剔除,提高运行性能

* feat: 增加 getCullFace 方法统一处理 cull

* style: lint style
2022-03-30 16:05:05 +08:00
2912401452 e0a48d8dab style: lint style 2022-03-29 14:42:38 +08:00
2912401452 871c0d863a style: lint style 2022-03-29 14:42:03 +08:00
2912401452 c157c7755e chore: update version 2.8.16 -> 2.8.17 2022-03-29 14:28:12 +08:00
YiQianYao 069f581e9c
Shihui (#1024)
* feat: 增加各个图层的纹理销毁的容错判断

* feat: 增加挤出几何体顶面纹理贴图的能力

* feat: 增加挤出几何体侧面颜色配置渐变

* style: lint style
2022-03-29 14:22:47 +08:00
2912401452 83e1bc375b chore: update version 2.8.15 -> 2.8.16 2022-03-28 22:59:57 +08:00
YiQianYao 31f0ee4a1c
Shihui (#1023)
* feat: 增加 lineLayer/pointLayer text 的抬升配置

* style: lint style
2022-03-28 22:57:02 +08:00
2912401452 09af464412 style: lint style 2022-03-28 19:47:10 +08:00
2912401452 22807a0fa7 feat: 补充 pickLight 模式下 polygon 挤出对象支持抬升 2022-03-28 19:45:24 +08:00
2912401452 6f4be840f4 chore: update version 2.8.14 -> 2.8.15 2022-03-28 19:21:19 +08:00
YiQianYao 3e3851687c
Shihui (#1022)
* feat: polygon 挤出几何体支持高度配置

* style: lint style
2022-03-28 19:20:00 +08:00
2912401452 0866616597 chore: update version 2.8.13 -> 2.8.14 2022-03-28 16:58:02 +08:00
YiQianYao 059625f66f
Shihui (#1021)
* chore: update version 2.8.12 -> 2.8.13

* fix: 修复 layer cursor 在 GAODE2.x 下的兼容问题

* style: lint style
2022-03-28 16:54:12 +08:00
YiQianYao fe300a4c9b
Shihui (#1020)
* feat: 图层支持配置 cursor

* style: lint style
2022-03-28 15:59:02 +08:00
2912401452 67120bde32 chore: update version 2.8.11 -> 2.8.12 2022-03-25 17:47:20 +08:00
YiQianYao 23595672c1
Shihui (#1019)
* feat: planeGeometry 支持地形(地形贴图偏移)

* style: lint style

* feat: 增加 terrain clip

* style: lint sytle

* style: lint style
2022-03-25 17:43:16 +08:00
2912401452 51eda46870 chore: update version 2.8.10 -> 2.8.11 2022-03-23 19:39:45 +08:00
YiQianYao ea286a7dfb
Shihui (#1016)
* feat: 调整类型定义

* style: lint style
2022-03-23 19:37:57 +08:00
2912401452 2b914b30d5 feat: remove simplemapcoord types export 2022-03-23 17:17:26 +08:00
2912401452 85ce285029 style: lint style 2022-03-23 17:12:40 +08:00
2912401452 ed13f21e77 fix: 新增 ISimpleMapCoord 类型定义 2022-03-23 17:11:47 +08:00
2912401452 3de9d38e28 fix: add .d.ts into l7core 2022-03-23 16:40:18 +08:00
2912401452 31418a4d9a fix: 修复 simpleMapCoord 类型定义 2022-03-23 16:34:14 +08:00
2912401452 f4bb311900 style: lint style 2022-03-23 16:26:04 +08:00
2912401452 25f526cfd7 style: lint style 2022-03-23 16:25:22 +08:00
2912401452 9435c35f46 style: lint style 2022-03-23 16:24:24 +08:00
2912401452 fc77a02179 fix: 修复地图对 simpleMapCoord 的声明 2022-03-23 16:21:21 +08:00
2912401452 6c0420a6c0 chore: update version 2.8.9 -> 2.8.10 2022-03-23 16:06:55 +08:00
2912401452 07b605d61c feat: l7map 补充地图参数、pitchEnabled、rotateEnabled 2022-03-23 14:35:40 +08:00
2912401452 886598bf1e fix: 修复 simpleCoordinates datamapping 2022-03-23 12:24:12 +08:00
YiQianYao 27e54e7a1c
Shihui (#1014)
* feat: 修改 CanvasLayer drawingOnCanvas 的 参数

* style: lint style

* feat: 新增 geometryLayer plane

* feat: 新增简单坐标系能力

* style: lint style
2022-03-23 11:01:54 +08:00
2912401452 e072a99bff chore: update version 2.8.8 -> 2.8.9 2022-03-18 18:11:28 +08:00
2912401452 3a320c7aed feat: 补充官网 CanvasLayer 文档、调整参数名 2022-03-18 18:09:42 +08:00
2912401452 f52bee04c3 chore: update version 2.8.7 -> 2.8.8 2022-03-18 15:04:34 +08:00
2912401452 7f87ad8dff style: lint style 2022-03-18 15:00:07 +08:00
2912401452 a32cd05914 feat: 完善 CanvasLayer 动画、增加 CanvasLayer demo 2022-03-18 14:59:22 +08:00
2912401452 257aaad56d chore: update version 2.8.6 -> 2.8.7 2022-03-18 11:05:06 +08:00
YiQianYao 499684ee09
Shihui (#1010)
* feat: 修改 CanvasLayer drawingOnCanvas 的 参数

* style: lint style

* feat: 新增 geometryLayer plane
2022-03-18 11:00:42 +08:00
2912401452 74c6ee3ce7 chore: update version 2.8.5 -> 2.8.6 2022-03-17 10:21:15 +08:00
YiQianYao 781b2586e1
Shihui (#1009)
* feat: 新增 canvasLayer、修复 mapbox 地图下 mapchange 事件失效

* style: lint style

* feat: 优化 canvasLayer show dragend 模式的事件

* style: lint style
2022-03-17 10:17:18 +08:00
2912401452 c95839c137 chore: update version 2.8.4 -> 2.8.5 2022-03-16 10:27:27 +08:00
YiQianYao 2a82fbf5b7
Shihui (#1005)
* feat: 重新兼容ie11

* style: lint style
2022-03-16 10:24:40 +08:00
2912401452 749af46ea5 chore: update version 2.8.3 -> 2.8.4 2022-03-11 14:05:33 +08:00
YiQianYao d6cb7da3a7
Shihui (#1000)
* feat: add oceanLayer

* style: lint style
2022-03-11 14:01:12 +08:00
2912401452 0b56dc8019 chore: update version 2.8.2 -> 2.8.3 2022-03-10 19:08:13 +08:00
YiQianYao cf0ac84a23
Shihui (#999)
* feat: 补充雷达图

* style: lint style
2022-03-10 19:03:37 +08:00
2912401452 e1aca744b3 chore: update version 2.8.1 -> 2.8.2 2022-03-10 14:31:45 +08:00
YiQianYao 888ead7eb4
Shihui (#998)
* feat: 完善 fillimage 的销毁

* feat: 完善 lineLayer 顶点构建时候对边界条件的兼容、增加台风案例

* feat: 增加台风案例

* docs: 完善官网 fillimage 的 demo
2022-03-10 14:11:19 +08:00
2912401452 574115750a chore: update version 2.8.0 -> 2.8.1 2022-03-09 18:01:39 +08:00
YiQianYao 50cc41da17
Shihui (#997)
* feat: add water layer

* feat: 新增 waterLayer

* style: lint style
2022-03-09 17:48:23 +08:00
2912401452 bd91e9f920 chore: update version 2.7.36 -> 2.8.0 2022-03-08 18:15:15 +08:00
2912401452 7af21ea83e chore: update version 2.7.35 -> 2.7.36 2022-03-08 11:01:50 +08:00
YiQianYao d43fe3ee9f
Shihui (#995)
* style: lint style

* feat: fillimage 增加旋转角度的控制

* style: lint style
2022-03-08 10:58:59 +08:00
2912401452 5339b80450 chore: update version 2.7.34 -> 2.7.35 2022-03-07 11:34:04 +08:00
YiQianYao ebef919f64
Shihui (#994)
* feat: bloom 效果优化

* style: lint style

* docs: 在 readme 添加最新官网地址

* feat: 增加 multiPass 状态开关方法 setMultiPass

* feat: 优化 setMultiPass 方法

* style: lint style
2022-03-07 11:30:41 +08:00
2912401452 b72aef9a28 chore: update version 2.7.33 -> 2.7.34 2022-03-03 19:28:19 +08:00
YiQianYao 5915afbe8a
Shihui (#992)
* fix: 修复 cylinder 在 mapbox 高度错误且 heightfixed 失效

* fix: 修复点图层 水波点 叠加模式不兼容

* style: lint style
2022-03-03 19:25:38 +08:00
YiQianYao bca4bea08c
fix: 修复 cylinder 在 mapbox 高度错误且 heightfixed 失效 (#991) 2022-03-03 18:00:25 +08:00
2912401452 3c378fab33 chore: update version 2.7.32 -> 2.7.33 2022-03-03 16:23:27 +08:00
YiQianYao a780946552
Shihui (#990)
* feat: 新增 setAutoFit 方法,允许设置图层的 autoFit 属性值

* feat: 补充 setAutoFit 方法的返回值
2022-03-03 16:21:18 +08:00