Commit Graph

4883 Commits

Author SHA1 Message Date
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
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
YiQianYao 9f2f834960
fix: 修复 feature scale 可能存在的 source 取值问题 (#1315)
* fix: 修复 featureScale 错误

* style: lint style

* fix: 修复 feature scale 映射问题

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-08-30 11:25:06 +08:00
MarkLei7 33c34764b7
fix: 解决聚合情况下清空图层点数据未清空BUG (#1311) 2022-08-30 10:24:53 +08:00
lvisei 1b1fa6238e
feat: source 支持 json 下新增 geometry 字段 (#1312)
* feat: source 支持 json 下 geometry 解析

* refactor: 优化循环逻辑
2022-08-30 10:07:12 +08:00
Dreammy23 f2a35106cb
test: 新增marker测试用例 (#1309)
Co-authored-by: Dreammy23 <echo.cmy@antgroup.com>
2022-08-26 23:09:10 +08:00
YiQianYao 893379f0e1
chore: update version 2.9.24 -> 2.9.25 (#1308)
* fix: 修复矢量图层判断错误

* chore: update version 2.9.24 -> 2.9.25

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-08-26 17:44:21 +08:00
@thinkinggis bc8b4d57df
chore: father 配置 glsl 内联 (#1305)
* docs: 增加demo,关闭 any lint

* docs: demo& ie 兼容问题

* chore: dev-build

* chore: father 配置 glsl 内联
2022-08-26 17:06:17 +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 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
qxang cb6dd27471
feat: 兼容不同amapjs 加载方式 (#1265) 2022-08-22 14:08:54 +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
@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 5bf5b808d8
chore: update version 2.9.20 -> 2.9.21 (#1273)
* chore: 修改引用

* style: lint style

* chore: update version 2.9.20 -> 2.9.21
2022-08-08 10:15:10 +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 08c4390543
chore: update version 2.9.16 -> 2.9.17 (#1259) 2022-07-29 14:08:43 +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