Commit Graph

287 Commits

Author SHA1 Message Date
YiQianYao 2fe8423939
chore: update version 2.9.25 -> 2.9.26 (#1318)
* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* chore: update version 2.9.25 -> 2.9.26

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-08-30 19:18:44 +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 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
lvisei 1b1fa6238e
feat: source 支持 json 下新增 geometry 字段 (#1312)
* feat: source 支持 json 下 geometry 解析

* refactor: 优化循环逻辑
2022-08-30 10:07:12 +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
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 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 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 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
@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
@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