Commit Graph

325 Commits

Author SHA1 Message Date
@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 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 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 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 9c9fa85cd3
chore: update version 2.9.17 -> 2.9.18 fix bug (#1261) 2022-07-29 14:26:05 +08:00
YiQianYao 656fd033f7
chore: update version 2.9.16 -> 2.9.17 (#1258) 2022-07-28 19:12:43 +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 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 0a9ad6c6f7
chore: update version 2.9.12 -> 2.9.13 (#1230) 2022-07-12 19:35:45 +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 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
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
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
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 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 8012a6b7f1
chore: update version 2.8.43 -> 2.8.44 (#1150) 2022-06-15 11:46:46 +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
YiQianYao 1663502b1d
chore: update version 2.8.41 -> 2.8.42 (#1146) 2022-06-09 23:33:56 +08:00
YiQianYao 7b6879067d
chore: update version 2.8.40 -> 2.8.41 (#1138) 2022-05-31 16:08:50 +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
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 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
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 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
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 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 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 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 673952e563
chore: update version 2.8.30 -> 2.8.31 (#1070) 2022-04-21 14:42:32 +08:00
2912401452 48c0deb562 chore: update version 2.8.29 - >2.8.30 2022-04-19 11:03:38 +08:00
2912401452 67e84c022f chore: update version 2.8.28 -> 2.8.29 2022-04-18 19:10:53 +08:00
2912401452 ea833ea8a2 chore: update version 2.8.27 -> 2.8.28 2022-04-15 17:09:50 +08:00
2912401452 fa0d15878e chore: update version 2.8.26 -> 2.6.27 2022-04-13 16:17:41 +08:00
2912401452 6cfa48438f chore: update version 2.8.25 -> 2.8.26 2022-04-13 15:17:32 +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 e94d7c069f chore: update version 2.8.22 -> 2.8.23 2022-04-11 19:42:35 +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 33cc1061bc chore: update version 2.8.20 -> 2.8.21 2022-04-07 15:51:32 +08:00
2912401452 1b4784d514 chore: update version 2.8.19 -> 2.8.20 2022-04-06 16:02:33 +08:00
2912401452 8e628c3464 chore: update version 2.8.18 -> 2.8.19 2022-04-02 16:39:10 +08:00
2912401452 95cecda948 chore: update version 2.8.17 -> 2.8.18 2022-03-30 16:08:04 +08:00
2912401452 c157c7755e chore: update version 2.8.16 -> 2.8.17 2022-03-29 14:28:12 +08:00
2912401452 83e1bc375b chore: update version 2.8.15 -> 2.8.16 2022-03-28 22:59:57 +08:00
2912401452 6f4be840f4 chore: update version 2.8.14 -> 2.8.15 2022-03-28 19:21:19 +08:00
2912401452 0866616597 chore: update version 2.8.13 -> 2.8.14 2022-03-28 16:58:02 +08:00
2912401452 55a147a42c chore: update version 2.8.12 -> 2.8.13 2022-03-28 16:01:20 +08:00
2912401452 67120bde32 chore: update version 2.8.11 -> 2.8.12 2022-03-25 17:47:20 +08:00
2912401452 51eda46870 chore: update version 2.8.10 -> 2.8.11 2022-03-23 19:39:45 +08:00
2912401452 6c0420a6c0 chore: update version 2.8.9 -> 2.8.10 2022-03-23 16:06:55 +08:00
2912401452 e072a99bff chore: update version 2.8.8 -> 2.8.9 2022-03-18 18:11:28 +08:00
2912401452 f52bee04c3 chore: update version 2.8.7 -> 2.8.8 2022-03-18 15:04:34 +08:00
2912401452 257aaad56d chore: update version 2.8.6 -> 2.8.7 2022-03-18 11:05:06 +08:00
2912401452 74c6ee3ce7 chore: update version 2.8.5 -> 2.8.6 2022-03-17 10:21:15 +08:00
2912401452 c95839c137 chore: update version 2.8.4 -> 2.8.5 2022-03-16 10:27:27 +08:00
2912401452 749af46ea5 chore: update version 2.8.3 -> 2.8.4 2022-03-11 14:05:33 +08:00
2912401452 0b56dc8019 chore: update version 2.8.2 -> 2.8.3 2022-03-10 19:08:13 +08:00
2912401452 e1aca744b3 chore: update version 2.8.1 -> 2.8.2 2022-03-10 14:31:45 +08:00
2912401452 574115750a chore: update version 2.8.0 -> 2.8.1 2022-03-09 18:01:39 +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
2912401452 5339b80450 chore: update version 2.7.34 -> 2.7.35 2022-03-07 11:34:04 +08:00
2912401452 b72aef9a28 chore: update version 2.7.33 -> 2.7.34 2022-03-03 19:28:19 +08:00
2912401452 3c378fab33 chore: update version 2.7.32 -> 2.7.33 2022-03-03 16:23:27 +08:00
2912401452 cfbd3941b8 chore: update version 2.7.31 -> 2.7.32 2022-03-03 11:54:26 +08:00
2912401452 aa49768ac4 chore: update version 2.7.30 -> 2.7.31 2022-03-02 19:02:11 +08:00
2912401452 9e6777a25e chore: update version 2.7.29 -> 2.7.30 2022-03-02 16:22:47 +08:00
2912401452 a10d0b6aad chore: update version 2.7.28 -> 2.7.29 2022-03-01 22:32:49 +08:00
2912401452 d31ab82e74 chore: update version 2.7.27 -> 2.7.28 2022-03-01 15:18:00 +08:00
2912401452 a64c685d33 chore: update version 2.7.26 -> 2.7.27 2022-02-28 19:03:01 +08:00
2912401452 9de9a69059 chore: update version 2.7.25 -> 2.7.26 2022-02-28 18:07:11 +08:00
2912401452 cf2153806b chore: update version 2.7.24 -> 2.7.25 2022-02-28 15:37:02 +08:00
2912401452 649cd3a8eb chore: update version 2.7.23 -> 2.7.24 2022-02-24 16:21:14 +08:00
2912401452 a6ab7fdcca chore: update version 2.7.22 -> 2.7.23 2022-02-24 14:07:21 +08:00
yunji e72e5b29ee chore: update version 2.7.21 -> 2.7.22 2022-02-23 21:48:57 +08:00
2912401452 a02f39ef2f chore: update version 2.7.20 -> 2.7.21 2022-02-23 15:30:24 +08:00
lzxue 24fe361470 chore: publish 2022-02-22 16:43:06 +08:00
lzxue 3e2ac1692f chore: publish 2022-02-22 12:08:47 +08:00
@thinkinggis 1039ec3e0a
Feat layer legend (#977)
* feat: add cluster demo

* fix(baselayer): 聚合图共用source 时数据不更新问题

layer  增加cluster zoom 标识符'

* fix(source): lint error

* fix: 聚合图缩放等级范围设置

* fix: demo

* fix: demo lint

* fix(layer): getlengenditem

* feat: 新增source属性更新

* docs: 更新source文档

* fix: lint error

* fix: 文档目录顺序
2022-02-22 12:00:51 +08:00
2912401452 143516dafc chore: update version 2.7.17 -> 2.7.18 2022-02-17 18:02:09 +08:00
2912401452 aa50bb9078 chore: update version 2.7.16 -> 2.7.17 2022-02-17 14:52:05 +08:00
2912401452 e58c83e9cb chore: update version 2.7.15 -> 2.7.16 2022-02-17 13:46:46 +08:00
2912401452 b218d2490c chore: update version 2.7.14 -> 2.7.15 2022-02-16 16:43:09 +08:00
2912401452 5757a760af chore: update version 2.7.13 -> 2.7.14 2022-02-16 14:48:09 +08:00
2912401452 33300e0c8a chore: update version 2.7.12 -> 2.7.13 2022-02-15 17:36:47 +08:00
2912401452 8168e3f4c6 chore: update version 2.7.11 -> 2.7.12 2022-02-14 17:13:43 +08:00
2912401452 8e83dfa631 chore: update version 2.7.10 -> 2.7.11 2022-02-12 19:19:17 +08:00
2912401452 71483e03d7 chore: update version 2.7.9 -> 2.7.10 2022-02-11 12:01:17 +08:00
2912401452 1044b183c9 chore: update version 2.7.8 -> 2.7.9 2022-02-10 12:09:22 +08:00