Commit Graph

4923 Commits

Author SHA1 Message Date
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 a6e32892ac
docs: 官网文档新增 createModelData/updateModelData 方法的 demo、文档 (#1083)
* chore: update version 2.8.30 -> 2.8.31

* docs: 完善时间轴公交数据 demo

* style: lint style

* docs: 增加官网依赖配置

* feat: 增加公交时序数据

* docs: 为地形 demo 增加 LOD

* style: lint style

* docs: 修改公交站点时序数据的 demo

* style: lint style

* docs: 官网文档新增 createModelData/updateModelData 方法的 demo、文档
2022-04-26 19:15:43 +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 c58ea55551
chore: update version 2.8.31 -> 2.8.32 (#1079)
* chore: update version 2.8.30 -> 2.8.31

* chore: update version 2.8.31 -> 2.8.32

* style: lint style
2022-04-24 19:02:21 +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 5f445479a2
docs: 补充官网文档 (#1077)
* chore: update version 2.8.30 -> 2.8.31

* docs: 增加框选的 demo

* docs: 补充 raisingHeight 的文档

* style: lint style
2022-04-24 16:56:15 +08:00
YiQianYao 7acb179ad3
docs: 官网文档补充 (#1076)
* chore: update version 2.8.30 -> 2.8.31

* docs: 增加框选的 demo

* docs: 补充 raisingHeight 的文档
2022-04-24 16:52:31 +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 17d7f36cfb
ci: 修改 lerna 发布保护分支规则 (#1071)
* chore: update version 2.8.30 -> 2.8.31

* chore: change lerna publish branch
2022-04-21 14:42:43 +08:00
YiQianYao 673952e563
chore: update version 2.8.30 -> 2.8.31 (#1070) 2022-04-21 14:42:32 +08:00
YiQianYao cd4402132b
Websizetest (#1068)
* docs: remove unnecessary data

* style: lint style
2022-04-21 13:59:24 +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
2912401452 60cd8bbb13 style: lint style 2022-04-18 19:09:34 +08:00
2912401452 898f8753a5 docs: 补充点图层 blur 的配置文档/demo 2022-04-18 19:08:31 +08:00
2912401452 9a1fc41860 docs: 补充 arrow 的 tailWidth 配置以及相关 demo 2022-04-18 18:57:29 +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
2912401452 ead554ccf6 style: lint style 2022-04-15 17:05:30 +08:00
2912401452 e5951751b7 docs: 新增官网关于粒子的 demo/文档 2022-04-15 17:04:15 +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 d7e74a263b style: lint style 2022-04-13 17:22:57 +08:00
2912401452 ade88c0960 docs: 新增线图层的箭头文档 2022-04-13 17:22:00 +08:00
2912401452 e387ffcd6e feat: 补充 arrow 贴图 2022-04-13 17:11:40 +08:00
2912401452 455d9aeb64 feat: 增加路径箭头 demo 2022-04-13 17:09:42 +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