Commit Graph

935 Commits

Author SHA1 Message Date
YiQianYao e10aa5aac8
fix: 修复高德2 动态点位引发的 bug (#1130) 2022-05-30 22:47:52 +08:00
lvisei abe00491ad
fix: 修复 layer 包入口文件依赖注入有副作用影响 (#1125) 2022-05-30 14:56:54 +08:00
YiQianYao 66f4166e58
fix: 修复挤出几何体侧面渐变错误 (#1128)
* fix: 修复 mouseup 失效

* fix: 修复 polyogn 侧面颜色出错
2022-05-28 18:10:10 +08:00
@thinkinggis b82e4c250a
chore: scale 升级优化 (#1126)
* fix: 添加core Layer inteface export & 增加 scale demo

* fix: 添加core Layer inteface export & 增加 scale demo

* chore: 优化数据映射模块

* feat(scale): dIVERGING 支持设置中间值
2022-05-27 16:00:16 +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
@thinkinggis 7032e19d92
fix: 图层事件添加事件类型定义 (#1104)
* fix(layer): 添加layer event type 支持时间类型提示'

* fix: lint error

* Update ILayerService.ts

Co-authored-by: YiQianYao <42212176+2912401452@users.noreply.github.com>
2022-05-23 18:54:27 +08:00
@thinkinggis efab24185c
Fix 接口导出 (#1120)
* fix: 添加core Layer inteface export & 增加 scale demo

* fix: 添加core Layer inteface export & 增加 scale demo
2022-05-23 18:45:45 +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 c209c13c1d
fix: 补全 ISource 接口定义 (#1118)
* fix: 修复 setData 参数缺失

* fix: 类型缺失属性

* chore: 补全 ISource 接口定义
2022-05-23 17:56:36 +08:00
YiQianYao 29d7715000
feat: 优化代码,使用 Array.includes 代替 || (#1115)
* fix: 修复 mouseup 失效

* feat: 优化 pickingService 的节流操作

* style: lint style
2022-05-18 10:30:39 +08:00
YiQianYao db1940be1f
fix: 修复 mouseup 失效 (#1114) 2022-05-17 22:58:21 +08:00
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 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 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 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 673952e563
chore: update version 2.8.30 -> 2.8.31 (#1070) 2022-04-21 14:42:32 +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
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
YiQianYao c4c59abddf
Shihui (#1056)
* feat: 增强 scene.addLayer 方法

* feat: 完善 scene.addLayer 方法

* feat: 新增粒子图层

* style: lint style
2022-04-15 16:36:48 +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
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 33f0d60ece fix: fix wave point shader err 2022-04-11 19:58:14 +08:00
2912401452 6c1f7dd34b fix: fix wavePointPoint 2022-04-11 19:55:42 +08:00
2912401452 e94d7c069f chore: update version 2.8.22 -> 2.8.23 2022-04-11 19:42:35 +08:00
YiQianYao 0e0926acb6
M (#1050)
* feat: 使用 Array.isArray 代替 loadsh 的 isArray

* docs: 完善季风demo

* docs: 完善 fillImage 关于 rotate 方法的文档

* style: lint style

* fix: 修复水波点效果、修复 amap2 marker 显示效果

* style: lint style
2022-04-11 19:40:31 +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 e296c52587 fix: 修复 setZoomAndCenter/setZoom 缩放层级不同的问题 2022-04-08 14:18:56 +08:00
2912401452 3d71d65fa1 style: lint style 2022-04-07 18:42:45 +08:00
2912401452 bc92f70873 Merge branch 'master' of https://github.com/antvis/L7 2022-04-07 16:56:52 +08:00
YiQianYao a03b41787b
Shihuidev (#1043)
* feat: fillImage 支持自由设置图标的旋转角度

* style: lint style

* feat: 增加对 pointLayer 的 shape 切换支持
2022-04-07 16:55:31 +08:00
2912401452 33cc1061bc chore: update version 2.8.20 -> 2.8.21 2022-04-07 15:51:32 +08:00
YiQianYao be80c6525d
Shihuidev (#1042)
* feat: fillImage 支持自由设置图标的旋转角度

* style: lint style
2022-04-07 15:45:12 +08:00
2912401452 1b4784d514 chore: update version 2.8.19 -> 2.8.20 2022-04-06 16:02:33 +08:00
YiQianYao 3369cd83cc
Shihuidev (#1041)
* feat: 完善线图层的 heightfixed 配置

* style: lint style

* docs: 完善官网 demo

* docs: 完善官网文档

* style: lint style
2022-04-06 15:33:11 +08:00
2912401452 8e628c3464 chore: update version 2.8.18 -> 2.8.19 2022-04-02 16:39:10 +08:00
YiQianYao 65b70c19dd
Changemarker (#1039)
* fix: 修复 Marker GaodeMapV2 在移动端的事件失效

* fix: 修复 iconfont 偏移

* fix: 修复销毁场景时候 webgl 实例未被销毁的问题

* style: lint style
2022-04-02 16:23:54 +08:00
2912401452 298bec190c style: lint style 2022-03-30 16:18:19 +08:00
2912401452 bbc53e1680 feat: 修改 geuCullFace 的依赖 2022-03-30 16:16:42 +08:00
2912401452 95cecda948 chore: update version 2.8.17 -> 2.8.18 2022-03-30 16:08:04 +08:00
YiQianYao 2fff09ca2d
Shihui (#1027)
* fix: 修复 layer 在触发 dataUpdate 时映射没有完成的问题

* style: lint style

* feat: lineLayer 支持动态配置 depth (是否开始深度)

* feat: 各个图层开启背面剔除,提高运行性能

* feat: 增加 getCullFace 方法统一处理 cull

* style: lint style
2022-03-30 16:05:05 +08:00
2912401452 e0a48d8dab style: lint style 2022-03-29 14:42:38 +08:00
2912401452 871c0d863a style: lint style 2022-03-29 14:42:03 +08:00
2912401452 c157c7755e chore: update version 2.8.16 -> 2.8.17 2022-03-29 14:28:12 +08:00
YiQianYao 069f581e9c
Shihui (#1024)
* feat: 增加各个图层的纹理销毁的容错判断

* feat: 增加挤出几何体顶面纹理贴图的能力

* feat: 增加挤出几何体侧面颜色配置渐变

* style: lint style
2022-03-29 14:22:47 +08:00
2912401452 83e1bc375b chore: update version 2.8.15 -> 2.8.16 2022-03-28 22:59:57 +08:00
YiQianYao 31f0ee4a1c
Shihui (#1023)
* feat: 增加 lineLayer/pointLayer text 的抬升配置

* style: lint style
2022-03-28 22:57:02 +08:00
2912401452 09af464412 style: lint style 2022-03-28 19:47:10 +08:00
2912401452 22807a0fa7 feat: 补充 pickLight 模式下 polygon 挤出对象支持抬升 2022-03-28 19:45:24 +08:00
2912401452 6f4be840f4 chore: update version 2.8.14 -> 2.8.15 2022-03-28 19:21:19 +08:00
YiQianYao 3e3851687c
Shihui (#1022)
* feat: polygon 挤出几何体支持高度配置

* style: lint style
2022-03-28 19:20:00 +08:00
2912401452 0866616597 chore: update version 2.8.13 -> 2.8.14 2022-03-28 16:58:02 +08:00
YiQianYao 059625f66f
Shihui (#1021)
* chore: update version 2.8.12 -> 2.8.13

* fix: 修复 layer cursor 在 GAODE2.x 下的兼容问题

* style: lint style
2022-03-28 16:54:12 +08:00
YiQianYao fe300a4c9b
Shihui (#1020)
* feat: 图层支持配置 cursor

* style: lint style
2022-03-28 15:59:02 +08:00
2912401452 67120bde32 chore: update version 2.8.11 -> 2.8.12 2022-03-25 17:47:20 +08:00
YiQianYao 23595672c1
Shihui (#1019)
* feat: planeGeometry 支持地形(地形贴图偏移)

* style: lint style

* feat: 增加 terrain clip

* style: lint sytle

* style: lint style
2022-03-25 17:43:16 +08:00
2912401452 51eda46870 chore: update version 2.8.10 -> 2.8.11 2022-03-23 19:39:45 +08:00
YiQianYao ea286a7dfb
Shihui (#1016)
* feat: 调整类型定义

* style: lint style
2022-03-23 19:37:57 +08:00
2912401452 2b914b30d5 feat: remove simplemapcoord types export 2022-03-23 17:17:26 +08:00
2912401452 85ce285029 style: lint style 2022-03-23 17:12:40 +08:00
2912401452 ed13f21e77 fix: 新增 ISimpleMapCoord 类型定义 2022-03-23 17:11:47 +08:00
2912401452 3de9d38e28 fix: add .d.ts into l7core 2022-03-23 16:40:18 +08:00
2912401452 31418a4d9a fix: 修复 simpleMapCoord 类型定义 2022-03-23 16:34:14 +08:00
2912401452 f4bb311900 style: lint style 2022-03-23 16:26:04 +08:00
2912401452 25f526cfd7 style: lint style 2022-03-23 16:25:22 +08:00
2912401452 9435c35f46 style: lint style 2022-03-23 16:24:24 +08:00
2912401452 fc77a02179 fix: 修复地图对 simpleMapCoord 的声明 2022-03-23 16:21:21 +08:00
2912401452 6c0420a6c0 chore: update version 2.8.9 -> 2.8.10 2022-03-23 16:06:55 +08:00
2912401452 07b605d61c feat: l7map 补充地图参数、pitchEnabled、rotateEnabled 2022-03-23 14:35:40 +08:00
2912401452 886598bf1e fix: 修复 simpleCoordinates datamapping 2022-03-23 12:24:12 +08:00