Commit Graph

144 Commits

Author SHA1 Message Date
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
thinkinggis b4800cdbf4 fix: site react example 2020-03-08 15:40:22 +08:00
thinkinggis 3d4f1c3eb7 fix: fix docs js SyntaxError 2020-01-15 15:52:31 +08:00
thinkinggis 1ed0bfb27f fix: 修复图层高亮不正常显示的问题 fix #150 2020-01-15 15:11:33 +08:00
thinkinggis 438d522f2a docs: update demo 2020-01-08 22:42:43 +08:00
thinkinggis e9f6a9217a docs: prettier docs js 2019-12-02 17:27:39 +08:00
thinkinggis 44d67adbf4 Merge branch 'master' into docs 2019-11-29 19:39:02 +08:00
thinkinggis ad18db686b docs(example): rm airline demo 数据量容易卡死 2019-11-26 20:20:30 +08:00
xiaoiver c5aae1675f 完善构建方案 & 容器 Bug 修复 (#84)
* feat(core): support hierarchical containers

* feat(multipassrenderer): support custom postprocessing pass

* build(rollup): output CDN bundle to @antv/l7/dist

* build(tsc): generate TS declaration files

* chore(prerelease): prerelease beta.10
2019-11-25 15:27:56 +08:00
thinkinggis fa3dc2794d refactor(l7 lib): update libs 2019-11-21 17:52:18 +08:00
thinkinggis 82a28b8001 feat(demo): normalization demo 2019-11-18 16:13:15 +08:00
yuqi.pyq 31a3db93a1 refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
thinkinggis caca3eaca0 fix: control css 2019-09-27 17:52:42 +08:00
thinkinggis 1f26a7c32b fix blending 2019-09-12 12:11:09 +08:00
thinkinggis ded4fee6c5 fix setmapStyle
add blank theme
2019-09-12 10:28:34 +08:00
thinkinggis 33274bf610 fix removelayer 不能重绘的问题
fix 文本渲染stroke不生效的问题
2019-09-11 20:59:25 +08:00
thinkinggis 1eebca1c4c fix marker css 2019-09-11 11:22:10 +08:00
thinkinggis 9146033db3 feat scene add destroy method 2019-09-11 11:03:13 +08:00
thinkinggis d658c041b8 fix pointlayer image shape event fix #30
fix 2d 图形,文本渲染的APi strokeColor -> stroke
2019-09-09 15:25:10 +08:00
@thinkinggis cf587c7758 Merge pull request #28 from antvis/touch
fix map bug
2019-09-07 10:47:12 +08:00
thinkinggis 5564aaf8a2 fix many bugs
imagelayer update when image loaded
map  style 支持空地图切换
文字样式更新 支持
2019-09-07 10:15:52 +08:00
ImgBotApp 299f09a35a [ImgBot] Optimize images
*Total -- 2,718.95kb -> 1,554.63kb (42.82%)

/demos/assets/screenshots/meshline.png -- 5.28kb -> 0.44kb (91.65%)
/demos/assets/screenshots/point.png -- 7.18kb -> 0.92kb (87.2%)
/demos/assets/screenshots/03_1_extrude_polygon.png -- 7.19kb -> 0.94kb (86.98%)
/demos/assets/screenshots/01_point_distribute.png -- 7.19kb -> 1.43kb (80.15%)
/demos/assets/screenshots/grid.png -- 7.19kb -> 1.43kb (80.15%)
/demos/assets/screenshots/hexgon.png -- 7.19kb -> 1.43kb (80.15%)
/demos/assets/screenshots/05_raster_dem.png -- 7.19kb -> 1.43kb (80.14%)
/demos/assets/screenshots/01_point_circle.png -- 7.19kb -> 1.43kb (80.14%)
/demos/assets/screenshots/taxi.png -- 7.23kb -> 2.87kb (60.27%)
/demos/assets/screenshots/line.png -- 7.23kb -> 2.87kb (60.26%)
/demos/assets/screenshots/08_arc_line.png -- 8.95kb -> 3.73kb (58.37%)
/demos/assets/screenshots/07_city.png -- 41.54kb -> 19.21kb (53.76%)
/demos/assets/screenshots/01_point_column.png -- 122.29kb -> 56.83kb (53.53%)
/demos/assets/screenshots/02_contour.png -- 28.66kb -> 13.57kb (52.66%)
/demos/assets/screenshots/04_image.png -- 15.09kb -> 7.26kb (51.86%)
/demos/assets/screenshots/heatmap.png -- 73.00kb -> 36.30kb (50.27%)
/demos/assets/right.png -- 0.63kb -> 0.31kb (50.23%)
/demos/assets/03_choropleths_polygon.png -- 198.45kb -> 99.55kb (49.83%)
/demos/assets/screenshots/01_point_shape.png -- 122.00kb -> 62.52kb (48.75%)
/demos/assets/screenshots/08_point_shape.png -- 71.41kb -> 36.77kb (48.51%)
/demos/assets/screenshots/02_arc_line.png -- 1,171.89kb -> 641.12kb (45.29%)
/demos/assets/screenshots/02_normal_line.png -- 186.66kb -> 117.49kb (37.05%)
/demos/assets/screenshots/02_animateline.png -- 89.41kb -> 58.56kb (34.5%)
/demos/assets/arrow.png -- 0.79kb -> 0.52kb (34.28%)
/demos/assets/screenshots/01_animatePoint.png -- 80.77kb -> 56.19kb (30.44%)
/demos/assets/screenshots/02_oneBletoneRoad.png -- 68.65kb -> 49.05kb (28.55%)
/demos/assets/screenshots/06_text.png -- 82.08kb -> 59.45kb (27.56%)
/demos/assets/screenshots/01_point_image.png -- 194.37kb -> 140.80kb (27.56%)
/demos/assets/screenshots/index.png -- 73.10kb -> 62.54kb (14.44%)
/demos/assets/screenshots/03_choropleths_polygon.png -- 19.16kb -> 17.67kb (7.79%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2019-09-05 09:35:28 +00:00
thinkinggis 3bff332d48 fix(style): update bug 2019-09-05 15:49:43 +08:00
thinkinggis d5fc5afbc4 update layer
修改dashline参数为像素单位
修复color更新的问题
2019-09-03 19:09:28 +08:00
thinkinggis 2926971b31 修复 removelayer 清除交互事件的bug
fix demo
2019-08-26 15:36:59 +08:00
thinkinggis bae149e91d fix(text): demo 2019-08-21 17:36:33 +08:00
thinkinggis 0d9beb8fe6 fix(text): shader defines 2019-08-21 16:59:27 +08:00
thinkinggis 36926889e7 refactor(text): point text shape 2019-08-20 20:41:53 +08:00
thinkinggis 96bc0fc1c0 fix(layer): 修复数据更新数据为空 2019-08-20 15:50:38 +08:00
thinkinggis 8d54bc6ab5 fix(point): 修复shape映射,图片加载的事件 2019-08-20 10:32:46 +08:00
thinkinggis 235f4d9841 fix(merge):fix conflict 2019-08-19 11:00:58 +08:00
thinkinggis fb5be34932 feat(json): point数据coord 设置支持数组 2019-08-19 10:50:57 +08:00
thinkinggis a4c893ec65 feat(label): add textlayer 2019-08-19 10:16:40 +08:00
thinkinggis ad1ca09cbf fix(conflict): merge text branch 2019-08-16 11:48:30 +08:00
xiaoiver 86d89dd5bf feat: 增加对于点要素的自动标注 2019-08-14 19:52:44 +08:00
izzy.cz 9d530cb27b fix: meshline triangulation bug 2019-08-14 12:00:10 +08:00
thinkinggis 0aef513fd2 refactor(camera): update camera async 2019-08-13 17:26:27 +08:00
thinkinggis 311c465d73 refactor(map): container layout 2019-08-12 14:52:50 +08:00
thinkinggis 9b2a4ca26c perf(shader): 优化线动画效果 2019-08-12 10:35:50 +08:00
thinkinggis c83f1c3d0b feat(control): add marker 2019-08-09 10:16:40 +08:00
thinkinggis b056a413d4 postcss inline 2019-08-07 17:08:53 +08:00
thinkinggis f6983ac907 feat(control): add scale, layer.zoom control 2019-08-07 10:44:29 +08:00
thinkinggis f6d1a7e316 fix demo 2019-08-01 18:25:27 +08:00
thinkinggis 1713e8c323 refactor(pick) 2019-08-01 18:14:52 +08:00
thinkinggis 65bba86bbf refactor(heatmap) buffer 2019-07-31 11:52:52 +08:00
thinkinggis 7facd72f72 refactor grid buffer 2019-07-24 18:25:55 +08:00
thinkinggis a88f6cab61 refactor: line & polygon buffer 2019-07-23 21:43:52 +08:00
thinkinggis b8bfd1b9ef merge greatCirlce 2019-07-23 21:09:07 +08:00
thinkinggis f84f029c90 fix(rewind):vector tile not rewind 2019-07-16 19:36:05 +08:00
thinkinggis 2585a202ed Merge branch 'master' into rollup 2019-07-15 20:45:53 +08:00