Commit Graph

1039 Commits

Author SHA1 Message Date
@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
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
YiQianYao e44ba06eae
feat: sprite 优化,取消拾取,允许不设置 source (#1098)
* refactor: 修改 StyleAttributeField 的类型定义,允许图层在未设置 source 的时候设置 size

* feat: sprite cancel picking capacity
2022-05-06 20:12:55 +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 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 673952e563
chore: update version 2.8.30 -> 2.8.31 (#1070) 2022-04-21 14:42:32 +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
2912401452 67e84c022f chore: update version 2.8.28 -> 2.8.29 2022-04-18 19:10:53 +08:00
YiQianYao 0d51eb642f
为点图层补充 blur 配置 (#1059)
* feat: 补充 pointLayer/blur

* style: lint style
2022-04-18 16:54:41 +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
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 e94d7c069f chore: update version 2.8.22 -> 2.8.23 2022-04-11 19:42:35 +08:00
2912401452 f088f85db1 chore: update version 2.8.21 -> 2.8.22 2022-04-08 16:29:07 +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
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 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
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
2912401452 51eda46870 chore: update version 2.8.10 -> 2.8.11 2022-03-23 19:39:45 +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 6c0420a6c0 chore: update version 2.8.9 -> 2.8.10 2022-03-23 16:06:55 +08:00
YiQianYao 27e54e7a1c
Shihui (#1014)
* feat: 修改 CanvasLayer drawingOnCanvas 的 参数

* style: lint style

* feat: 新增 geometryLayer plane

* feat: 新增简单坐标系能力

* style: lint style
2022-03-23 11:01:54 +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
YiQianYao 499684ee09
Shihui (#1010)
* feat: 修改 CanvasLayer drawingOnCanvas 的 参数

* style: lint style

* feat: 新增 geometryLayer plane
2022-03-18 11:00:42 +08:00
2912401452 74c6ee3ce7 chore: update version 2.8.5 -> 2.8.6 2022-03-17 10:21:15 +08:00
YiQianYao 781b2586e1
Shihui (#1009)
* feat: 新增 canvasLayer、修复 mapbox 地图下 mapchange 事件失效

* style: lint style

* feat: 优化 canvasLayer show dragend 模式的事件

* style: lint style
2022-03-17 10:17:18 +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
YiQianYao 50cc41da17
Shihui (#997)
* feat: add water layer

* feat: 新增 waterLayer

* style: lint style
2022-03-09 17:48:23 +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
YiQianYao ebef919f64
Shihui (#994)
* feat: bloom 效果优化

* style: lint style

* docs: 在 readme 添加最新官网地址

* feat: 增加 multiPass 状态开关方法 setMultiPass

* feat: 优化 setMultiPass 方法

* style: lint style
2022-03-07 11:30:41 +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
YiQianYao a780946552
Shihui (#990)
* feat: 新增 setAutoFit 方法,允许设置图层的 autoFit 属性值

* feat: 补充 setAutoFit 方法的返回值
2022-03-03 16:21:18 +08:00
2912401452 cfbd3941b8 chore: update version 2.7.31 -> 2.7.32 2022-03-03 11:54:26 +08:00
YiQianYao d957ae7ca1
Shihui (#989)
* chore: update version 2.7.30 -> 2.7.31

* fix: 修复 高德 1.x 地图时存在的可视化层延迟的现象

* style: lint style
2022-03-03 11:52:41 +08:00
YiQianYao 646073bb34
Shihui (#988)
* feat: 增加 bloomPass1.0、修改渲染流程,让 multiPass 有正确的渲染顺序

* style: lint style

* feat: 取消 bloom 在 postprocessor 中的多次渲染(没有明显优化)

* feat: polygon extrude 模式支持配置固定高度

* style: lint style

* feat: 优化后处理 bloom 的效果

* feat: 修改交替绘制 bloom 的写法

* style: lint style

* feat: 完善 iconService 加载渲染和销毁

* style: lint style

* feat: 补全 mapbox 模式下等面积点

* style: lint style

* fix: 修复 pointLayer animate 模式 opacity 失效

* style: lint style

* feat: 拆分 pointLayer 的 shader

* style: lint sytle

* feat: 拆分 lineLayer 的 linear 模式

* style: lint style

* feat: 优化点击的拾取判断

* style: lint style

* feat: 取消圆柱 shader 中的三元表达式、增强健壮性

* feat: 点图层圆柱体支持固定高度配置 heightfixed

* feat: 点图层圆柱体支持拾取高亮颜色的光照计算

* style: lint style

* style: lint style

* feat: 拆分 lintLayer line 模式下的 dash line

* style: lint style

* feat: lineLayer simpleline 的 linear shader 代码拆分

* style: lint style

* feat: 拆分 lineLayer arcLine linear shader  代码

* style: line style

* feat: lineLayer arc line 在 shader 中移除 linear 部分计算

* feat: 拆分 lineLayer arc dash 虚线的 shader 代码

* style: lint style

* feat: 拆分 lineLayer arc3d linear 部分的 shader 代码

* style: lint style

* style: lint style

* feat: 完善 isMiniAli 的判断,兼容 smallfish H5+ 的模式

* style: lint style

* style: adjust mulpass demo

* feat: 提供 getScale 方法

* style: lint style

* feat:     修复支付宝小程序h5+开发模式下引入l7样式失效问题

* feat: 修改 l7hammerjs 的导入

* fix: 恢复原有的 picking shader 代码,解决移动端高亮存在冲突破面的情况

* feat: 重新设置 l7hammerjs 的导入方式

* fix: 修复 createTexture 的数据类型在 支付宝 环境中使用 Uint8ClampedArray 存在数据类型不兼容的现象

* style: lint style

* feat: 兼容高德地图 2.x 在部分安卓手机上点击拾取失效的情况

* style: lint style

* feat: 优化经典热力图显示效果

* style: lint style

* feat: 修改 setBlend 方法、返回当前的 layer 对象

* feat: 完善在点图层未传入数据的情况下判断 shape 类型

* style: lint style

* feat: 修复 MultiPassRender 在高德1.x 底图下,缩放地图时存在可视化层不同步的现象

* fix: 修复 getModelTypeWillEmptyData 的 bug

* feat: 提供图层空数据的情况下提前指定 layer 类型的参数方法(暂时只在 pointlayer)

* style: lint style

* fix: 修复 l7-component Supercluster 依赖的缺失

* feat: 新增大小不受限制的点图层贴图类型 fillimage

* style: lint style

* feat: 完善对 iconfont 的兼容支持

* style: lint style
2022-03-02 19:00:58 +08:00
2912401452 9e6777a25e chore: update version 2.7.29 -> 2.7.30 2022-03-02 16:22:47 +08:00
YiQianYao d0476b7484
Shihui (#987)
* feat: 增加 bloomPass1.0、修改渲染流程,让 multiPass 有正确的渲染顺序

* style: lint style

* feat: 取消 bloom 在 postprocessor 中的多次渲染(没有明显优化)

* feat: polygon extrude 模式支持配置固定高度

* style: lint style

* feat: 优化后处理 bloom 的效果

* feat: 修改交替绘制 bloom 的写法

* style: lint style

* feat: 完善 iconService 加载渲染和销毁

* style: lint style

* feat: 补全 mapbox 模式下等面积点

* style: lint style

* fix: 修复 pointLayer animate 模式 opacity 失效

* style: lint style

* feat: 拆分 pointLayer 的 shader

* style: lint sytle

* feat: 拆分 lineLayer 的 linear 模式

* style: lint style

* feat: 优化点击的拾取判断

* style: lint style

* feat: 取消圆柱 shader 中的三元表达式、增强健壮性

* feat: 点图层圆柱体支持固定高度配置 heightfixed

* feat: 点图层圆柱体支持拾取高亮颜色的光照计算

* style: lint style

* style: lint style

* feat: 拆分 lintLayer line 模式下的 dash line

* style: lint style

* feat: lineLayer simpleline 的 linear shader 代码拆分

* style: lint style

* feat: 拆分 lineLayer arcLine linear shader  代码

* style: line style

* feat: lineLayer arc line 在 shader 中移除 linear 部分计算

* feat: 拆分 lineLayer arc dash 虚线的 shader 代码

* style: lint style

* feat: 拆分 lineLayer arc3d linear 部分的 shader 代码

* style: lint style

* style: lint style

* feat: 完善 isMiniAli 的判断,兼容 smallfish H5+ 的模式

* style: lint style

* style: adjust mulpass demo

* feat: 提供 getScale 方法

* style: lint style

* feat:     修复支付宝小程序h5+开发模式下引入l7样式失效问题

* feat: 修改 l7hammerjs 的导入

* fix: 恢复原有的 picking shader 代码,解决移动端高亮存在冲突破面的情况

* feat: 重新设置 l7hammerjs 的导入方式

* fix: 修复 createTexture 的数据类型在 支付宝 环境中使用 Uint8ClampedArray 存在数据类型不兼容的现象

* style: lint style

* feat: 兼容高德地图 2.x 在部分安卓手机上点击拾取失效的情况

* style: lint style

* feat: 优化经典热力图显示效果

* style: lint style

* feat: 修改 setBlend 方法、返回当前的 layer 对象

* feat: 完善在点图层未传入数据的情况下判断 shape 类型

* style: lint style

* feat: 修复 MultiPassRender 在高德1.x 底图下,缩放地图时存在可视化层不同步的现象

* fix: 修复 getModelTypeWillEmptyData 的 bug

* feat: 提供图层空数据的情况下提前指定 layer 类型的参数方法(暂时只在 pointlayer)

* style: lint style

* fix: 修复 l7-component Supercluster 依赖的缺失

* feat: 新增大小不受限制的点图层贴图类型 fillimage

* style: lint style
2022-03-02 16:08:01 +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
YiQianYao b9ef553c1b
Shihui (#985)
* feat: 增加 bloomPass1.0、修改渲染流程,让 multiPass 有正确的渲染顺序

* style: lint style

* feat: 取消 bloom 在 postprocessor 中的多次渲染(没有明显优化)

* feat: polygon extrude 模式支持配置固定高度

* style: lint style

* feat: 优化后处理 bloom 的效果

* feat: 修改交替绘制 bloom 的写法

* style: lint style

* feat: 完善 iconService 加载渲染和销毁

* style: lint style

* feat: 补全 mapbox 模式下等面积点

* style: lint style

* fix: 修复 pointLayer animate 模式 opacity 失效

* style: lint style

* feat: 拆分 pointLayer 的 shader

* style: lint sytle

* feat: 拆分 lineLayer 的 linear 模式

* style: lint style

* feat: 优化点击的拾取判断

* style: lint style

* feat: 取消圆柱 shader 中的三元表达式、增强健壮性

* feat: 点图层圆柱体支持固定高度配置 heightfixed

* feat: 点图层圆柱体支持拾取高亮颜色的光照计算

* style: lint style

* style: lint style

* feat: 拆分 lintLayer line 模式下的 dash line

* style: lint style

* feat: lineLayer simpleline 的 linear shader 代码拆分

* style: lint style

* feat: 拆分 lineLayer arcLine linear shader  代码

* style: line style

* feat: lineLayer arc line 在 shader 中移除 linear 部分计算

* feat: 拆分 lineLayer arc dash 虚线的 shader 代码

* style: lint style

* feat: 拆分 lineLayer arc3d linear 部分的 shader 代码

* style: lint style

* style: lint style

* feat: 完善 isMiniAli 的判断,兼容 smallfish H5+ 的模式

* style: lint style

* style: adjust mulpass demo

* feat: 提供 getScale 方法

* style: lint style

* feat:     修复支付宝小程序h5+开发模式下引入l7样式失效问题

* feat: 修改 l7hammerjs 的导入

* fix: 恢复原有的 picking shader 代码,解决移动端高亮存在冲突破面的情况

* feat: 重新设置 l7hammerjs 的导入方式

* fix: 修复 createTexture 的数据类型在 支付宝 环境中使用 Uint8ClampedArray 存在数据类型不兼容的现象

* style: lint style

* feat: 兼容高德地图 2.x 在部分安卓手机上点击拾取失效的情况

* style: lint style

* feat: 优化经典热力图显示效果

* style: lint style

* feat: 修改 setBlend 方法、返回当前的 layer 对象

* feat: 完善在点图层未传入数据的情况下判断 shape 类型

* style: lint style

* feat: 修复 MultiPassRender 在高德1.x 底图下,缩放地图时存在可视化层不同步的现象

* fix: 修复 getModelTypeWillEmptyData 的 bug

* feat: 提供图层空数据的情况下提前指定 layer 类型的参数方法(暂时只在 pointlayer)

* style: lint style
2022-03-01 15:13:58 +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
YiQianYao 173886ab45
Shihui (#982)
* feat: 增加 bloomPass1.0、修改渲染流程,让 multiPass 有正确的渲染顺序

* style: lint style

* feat: 取消 bloom 在 postprocessor 中的多次渲染(没有明显优化)

* feat: polygon extrude 模式支持配置固定高度

* style: lint style

* feat: 优化后处理 bloom 的效果

* feat: 修改交替绘制 bloom 的写法

* style: lint style

* feat: 完善 iconService 加载渲染和销毁

* style: lint style

* feat: 补全 mapbox 模式下等面积点

* style: lint style

* fix: 修复 pointLayer animate 模式 opacity 失效

* style: lint style

* feat: 拆分 pointLayer 的 shader

* style: lint sytle

* feat: 拆分 lineLayer 的 linear 模式

* style: lint style

* feat: 优化点击的拾取判断

* style: lint style

* feat: 取消圆柱 shader 中的三元表达式、增强健壮性

* feat: 点图层圆柱体支持固定高度配置 heightfixed

* feat: 点图层圆柱体支持拾取高亮颜色的光照计算

* style: lint style

* style: lint style

* feat: 拆分 lintLayer line 模式下的 dash line

* style: lint style

* feat: lineLayer simpleline 的 linear shader 代码拆分

* style: lint style

* feat: 拆分 lineLayer arcLine linear shader  代码

* style: line style

* feat: lineLayer arc line 在 shader 中移除 linear 部分计算

* feat: 拆分 lineLayer arc dash 虚线的 shader 代码

* style: lint style

* feat: 拆分 lineLayer arc3d linear 部分的 shader 代码

* style: lint style

* style: lint style

* feat: 完善 isMiniAli 的判断,兼容 smallfish H5+ 的模式

* style: lint style

* style: adjust mulpass demo

* feat: 提供 getScale 方法

* style: lint style

* feat:     修复支付宝小程序h5+开发模式下引入l7样式失效问题

* feat: 修改 l7hammerjs 的导入

* fix: 恢复原有的 picking shader 代码,解决移动端高亮存在冲突破面的情况

* feat: 重新设置 l7hammerjs 的导入方式

* fix: 修复 createTexture 的数据类型在 支付宝 环境中使用 Uint8ClampedArray 存在数据类型不兼容的现象

* style: lint style

* feat: 兼容高德地图 2.x 在部分安卓手机上点击拾取失效的情况

* style: lint style

* feat: 优化经典热力图显示效果

* style: lint style

* feat: 修改 setBlend 方法、返回当前的 layer 对象

* feat: 完善在点图层未传入数据的情况下判断 shape 类型

* style: lint style
2022-02-28 15:34:54 +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
YiQianYao c0d4354e52
Shihui (#980)
* feat: 增加 bloomPass1.0、修改渲染流程,让 multiPass 有正确的渲染顺序

* style: lint style

* feat: 取消 bloom 在 postprocessor 中的多次渲染(没有明显优化)

* feat: polygon extrude 模式支持配置固定高度

* style: lint style

* feat: 优化后处理 bloom 的效果

* feat: 修改交替绘制 bloom 的写法

* style: lint style

* feat: 完善 iconService 加载渲染和销毁

* style: lint style

* feat: 补全 mapbox 模式下等面积点

* style: lint style

* fix: 修复 pointLayer animate 模式 opacity 失效

* style: lint style

* feat: 拆分 pointLayer 的 shader

* style: lint sytle

* feat: 拆分 lineLayer 的 linear 模式

* style: lint style

* feat: 优化点击的拾取判断

* style: lint style

* feat: 取消圆柱 shader 中的三元表达式、增强健壮性

* feat: 点图层圆柱体支持固定高度配置 heightfixed

* feat: 点图层圆柱体支持拾取高亮颜色的光照计算

* style: lint style

* style: lint style

* feat: 拆分 lintLayer line 模式下的 dash line

* style: lint style

* feat: lineLayer simpleline 的 linear shader 代码拆分

* style: lint style

* feat: 拆分 lineLayer arcLine linear shader  代码

* style: line style

* feat: lineLayer arc line 在 shader 中移除 linear 部分计算

* feat: 拆分 lineLayer arc dash 虚线的 shader 代码

* style: lint style

* feat: 拆分 lineLayer arc3d linear 部分的 shader 代码

* style: lint style

* style: lint style

* feat: 完善 isMiniAli 的判断,兼容 smallfish H5+ 的模式

* style: lint style

* style: adjust mulpass demo

* feat: 提供 getScale 方法

* style: lint style

* feat:     修复支付宝小程序h5+开发模式下引入l7样式失效问题

* feat: 修改 l7hammerjs 的导入

* fix: 恢复原有的 picking shader 代码,解决移动端高亮存在冲突破面的情况

* feat: 重新设置 l7hammerjs 的导入方式

* fix: 修复 createTexture 的数据类型在 支付宝 环境中使用 Uint8ClampedArray 存在数据类型不兼容的现象

* style: lint style

* feat: 兼容高德地图 2.x 在部分安卓手机上点击拾取失效的情况

* style: lint style
2022-02-24 12:16:47 +08:00
yunji e72e5b29ee chore: update version 2.7.21 -> 2.7.22 2022-02-23 21:48:57 +08:00
lvisei ca20d8e12f
fix: legend type (#976)
* chore: scale quantize demo

* fix(layer): color legend

scale order

* chore: note for type

* fix: ignore undefined cat

* fix: continuous tick type
2022-02-23 19:47:14 +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
YiQianYao 31a14511ee
Shihui (#971)
* feat: 增加 bloomPass1.0、修改渲染流程,让 multiPass 有正确的渲染顺序

* style: lint style

* feat: 取消 bloom 在 postprocessor 中的多次渲染(没有明显优化)

* feat: polygon extrude 模式支持配置固定高度

* style: lint style

* feat: 优化后处理 bloom 的效果

* feat: 修改交替绘制 bloom 的写法

* style: lint style

* feat: 完善 iconService 加载渲染和销毁

* style: lint style

* feat: 补全 mapbox 模式下等面积点

* style: lint style

* fix: 修复 pointLayer animate 模式 opacity 失效

* style: lint style

* feat: 拆分 pointLayer 的 shader

* style: lint sytle

* feat: 拆分 lineLayer 的 linear 模式

* style: lint style

* feat: 优化点击的拾取判断

* style: lint style

* feat: 取消圆柱 shader 中的三元表达式、增强健壮性

* feat: 点图层圆柱体支持固定高度配置 heightfixed

* feat: 点图层圆柱体支持拾取高亮颜色的光照计算

* style: lint style

* style: lint style

* feat: 拆分 lintLayer line 模式下的 dash line

* style: lint style

* feat: lineLayer simpleline 的 linear shader 代码拆分

* style: lint style

* feat: 拆分 lineLayer arcLine linear shader  代码

* style: line style

* feat: lineLayer arc line 在 shader 中移除 linear 部分计算

* feat: 拆分 lineLayer arc dash 虚线的 shader 代码

* style: lint style

* feat: 拆分 lineLayer arc3d linear 部分的 shader 代码

* style: lint style

* style: lint style

* feat: 完善 isMiniAli 的判断,兼容 smallfish H5+ 的模式

* style: lint style

* style: adjust mulpass demo

* feat: 提供 getScale 方法

* style: lint style

* feat:     修复支付宝小程序h5+开发模式下引入l7样式失效问题

* feat: 修改 l7hammerjs 的导入

* chore: update version 2.7.16 -> 2.7.17

* fix: 恢复原有的 picking shader 代码,解决移动端高亮存在冲突破面的情况

* feat: 重新设置 l7hammerjs 的导入方式
2022-02-17 18:00:17 +08:00
YiQianYao 989094ff7e
Shihui (#970)
* feat: 增加 bloomPass1.0、修改渲染流程,让 multiPass 有正确的渲染顺序

* style: lint style

* feat: 取消 bloom 在 postprocessor 中的多次渲染(没有明显优化)

* feat: polygon extrude 模式支持配置固定高度

* style: lint style

* feat: 优化后处理 bloom 的效果

* feat: 修改交替绘制 bloom 的写法

* style: lint style

* feat: 完善 iconService 加载渲染和销毁

* style: lint style

* feat: 补全 mapbox 模式下等面积点

* style: lint style

* fix: 修复 pointLayer animate 模式 opacity 失效

* style: lint style

* feat: 拆分 pointLayer 的 shader

* style: lint sytle

* feat: 拆分 lineLayer 的 linear 模式

* style: lint style

* feat: 优化点击的拾取判断

* style: lint style

* feat: 取消圆柱 shader 中的三元表达式、增强健壮性

* feat: 点图层圆柱体支持固定高度配置 heightfixed

* feat: 点图层圆柱体支持拾取高亮颜色的光照计算

* style: lint style

* style: lint style

* feat: 拆分 lintLayer line 模式下的 dash line

* style: lint style

* feat: lineLayer simpleline 的 linear shader 代码拆分

* style: lint style

* feat: 拆分 lineLayer arcLine linear shader  代码

* style: line style

* feat: lineLayer arc line 在 shader 中移除 linear 部分计算

* feat: 拆分 lineLayer arc dash 虚线的 shader 代码

* style: lint style

* feat: 拆分 lineLayer arc3d linear 部分的 shader 代码

* style: lint style

* style: lint style

* feat: 完善 isMiniAli 的判断,兼容 smallfish H5+ 的模式

* style: lint style

* style: adjust mulpass demo

* feat: 提供 getScale 方法

* style: lint style

* feat:     修复支付宝小程序h5+开发模式下引入l7样式失效问题

* feat: 修改 l7hammerjs 的导入

* chore: update version 2.7.16 -> 2.7.17

* fix: 恢复原有的 picking shader 代码,解决移动端高亮存在冲突破面的情况
2022-02-17 17:54:16 +08:00
2912401452 8ce0a624bf feat: 升级 l7hammerjs 引用的版本 2022-02-17 14:50:01 +08:00
2912401452 58eeacf28a feat: 恢复 l7hammerjs 的导入方式 2022-02-17 13:57:57 +08:00
2912401452 e58c83e9cb chore: update version 2.7.15 -> 2.7.16 2022-02-17 13:46:46 +08:00
YiQianYao 81808055e6
Shihui (#968)
* feat: 增加 bloomPass1.0、修改渲染流程,让 multiPass 有正确的渲染顺序

* style: lint style

* feat: 取消 bloom 在 postprocessor 中的多次渲染(没有明显优化)

* feat: polygon extrude 模式支持配置固定高度

* style: lint style

* feat: 优化后处理 bloom 的效果

* feat: 修改交替绘制 bloom 的写法

* style: lint style

* feat: 完善 iconService 加载渲染和销毁

* style: lint style

* feat: 补全 mapbox 模式下等面积点

* style: lint style

* fix: 修复 pointLayer animate 模式 opacity 失效

* style: lint style

* feat: 拆分 pointLayer 的 shader

* style: lint sytle

* feat: 拆分 lineLayer 的 linear 模式

* style: lint style

* feat: 优化点击的拾取判断

* style: lint style

* feat: 取消圆柱 shader 中的三元表达式、增强健壮性

* feat: 点图层圆柱体支持固定高度配置 heightfixed

* feat: 点图层圆柱体支持拾取高亮颜色的光照计算

* style: lint style

* style: lint style

* feat: 拆分 lintLayer line 模式下的 dash line

* style: lint style

* feat: lineLayer simpleline 的 linear shader 代码拆分

* style: lint style

* feat: 拆分 lineLayer arcLine linear shader  代码

* style: line style

* feat: lineLayer arc line 在 shader 中移除 linear 部分计算

* feat: 拆分 lineLayer arc dash 虚线的 shader 代码

* style: lint style

* feat: 拆分 lineLayer arc3d linear 部分的 shader 代码

* style: lint style

* style: lint style

* feat: 完善 isMiniAli 的判断,兼容 smallfish H5+ 的模式

* style: lint style

* style: adjust mulpass demo

* feat: 提供 getScale 方法

* style: lint style

* feat:     修复支付宝小程序h5+开发模式下引入l7样式失效问题

* feat: 修改 l7hammerjs 的导入
2022-02-17 13:45:29 +08:00
2912401452 b218d2490c chore: update version 2.7.14 -> 2.7.15 2022-02-16 16:43:09 +08:00
YiQianYao 878d398bdc
Shihui (#967)
* feat: 增加 bloomPass1.0、修改渲染流程,让 multiPass 有正确的渲染顺序

* style: lint style

* feat: 取消 bloom 在 postprocessor 中的多次渲染(没有明显优化)

* feat: polygon extrude 模式支持配置固定高度

* style: lint style

* feat: 优化后处理 bloom 的效果

* feat: 修改交替绘制 bloom 的写法

* style: lint style

* feat: 完善 iconService 加载渲染和销毁

* style: lint style

* feat: 补全 mapbox 模式下等面积点

* style: lint style

* fix: 修复 pointLayer animate 模式 opacity 失效

* style: lint style

* feat: 拆分 pointLayer 的 shader

* style: lint sytle

* feat: 拆分 lineLayer 的 linear 模式

* style: lint style

* feat: 优化点击的拾取判断

* style: lint style

* feat: 取消圆柱 shader 中的三元表达式、增强健壮性

* feat: 点图层圆柱体支持固定高度配置 heightfixed

* feat: 点图层圆柱体支持拾取高亮颜色的光照计算

* style: lint style

* style: lint style

* feat: 拆分 lintLayer line 模式下的 dash line

* style: lint style

* feat: lineLayer simpleline 的 linear shader 代码拆分

* style: lint style

* feat: 拆分 lineLayer arcLine linear shader  代码

* style: line style

* feat: lineLayer arc line 在 shader 中移除 linear 部分计算

* feat: 拆分 lineLayer arc dash 虚线的 shader 代码

* style: lint style

* feat: 拆分 lineLayer arc3d linear 部分的 shader 代码

* style: lint style

* style: lint style

* feat: 完善 isMiniAli 的判断,兼容 smallfish H5+ 的模式

* style: lint style

* style: adjust mulpass demo

* feat: 提供 getScale 方法

* style: lint style
2022-02-16 16:32:54 +08:00
2912401452 5757a760af chore: update version 2.7.13 -> 2.7.14 2022-02-16 14:48:09 +08:00
2912401452 d62ec8e248 Merge branch 'master' of https://github.com/antvis/L7 2022-02-16 14:47:06 +08:00
YiQianYao 073794a586
Shihui (#965)
* feat: 增加 bloomPass1.0、修改渲染流程,让 multiPass 有正确的渲染顺序

* style: lint style

* feat: 取消 bloom 在 postprocessor 中的多次渲染(没有明显优化)

* feat: polygon extrude 模式支持配置固定高度

* style: lint style

* feat: 优化后处理 bloom 的效果

* feat: 修改交替绘制 bloom 的写法

* style: lint style

* feat: 完善 iconService 加载渲染和销毁

* style: lint style

* feat: 补全 mapbox 模式下等面积点

* style: lint style

* fix: 修复 pointLayer animate 模式 opacity 失效

* style: lint style

* feat: 拆分 pointLayer 的 shader

* style: lint sytle

* feat: 拆分 lineLayer 的 linear 模式

* style: lint style

* feat: 优化点击的拾取判断

* style: lint style

* feat: 取消圆柱 shader 中的三元表达式、增强健壮性

* feat: 点图层圆柱体支持固定高度配置 heightfixed

* feat: 点图层圆柱体支持拾取高亮颜色的光照计算

* style: lint style

* style: lint style

* feat: 拆分 lintLayer line 模式下的 dash line

* style: lint style

* chore: update version 2.7.11 -> 2.7.12

* feat: lineLayer simpleline 的 linear shader 代码拆分

* style: lint style

* feat: 拆分 lineLayer arcLine linear shader  代码

* style: line style

* feat: lineLayer arc line 在 shader 中移除 linear 部分计算

* feat: 拆分 lineLayer arc dash 虚线的 shader 代码

* style: lint style

* feat: 拆分 lineLayer arc3d linear 部分的 shader 代码

* style: lint style

* style: lint style

* feat: 完善 isMiniAli 的判断,兼容 smallfish H5+ 的模式

* style: lint style
2022-02-16 14:46:44 +08:00
2912401452 33300e0c8a chore: update version 2.7.12 -> 2.7.13 2022-02-15 17:36:47 +08:00
YiQianYao 589ce2feb7
Shihui (#964)
* feat: 增加 bloomPass1.0、修改渲染流程,让 multiPass 有正确的渲染顺序

* style: lint style

* feat: 取消 bloom 在 postprocessor 中的多次渲染(没有明显优化)

* feat: polygon extrude 模式支持配置固定高度

* style: lint style

* feat: 优化后处理 bloom 的效果

* feat: 修改交替绘制 bloom 的写法

* style: lint style

* feat: 完善 iconService 加载渲染和销毁

* style: lint style

* feat: 补全 mapbox 模式下等面积点

* style: lint style

* fix: 修复 pointLayer animate 模式 opacity 失效

* style: lint style

* feat: 拆分 pointLayer 的 shader

* style: lint sytle

* feat: 拆分 lineLayer 的 linear 模式

* style: lint style

* feat: 优化点击的拾取判断

* style: lint style

* feat: 取消圆柱 shader 中的三元表达式、增强健壮性

* feat: 点图层圆柱体支持固定高度配置 heightfixed

* feat: 点图层圆柱体支持拾取高亮颜色的光照计算

* style: lint style

* style: lint style

* feat: 拆分 lintLayer line 模式下的 dash line

* style: lint style

* chore: update version 2.7.11 -> 2.7.12

* feat: lineLayer simpleline 的 linear shader 代码拆分

* style: lint style

* feat: 拆分 lineLayer arcLine linear shader  代码

* style: line style

* feat: lineLayer arc line 在 shader 中移除 linear 部分计算

* feat: 拆分 lineLayer arc dash 虚线的 shader 代码

* style: lint style

* feat: 拆分 lineLayer arc3d linear 部分的 shader 代码

* style: lint style

* style: lint style
2022-02-15 17:34:50 +08:00
2912401452 8168e3f4c6 chore: update version 2.7.11 -> 2.7.12 2022-02-14 17:13:43 +08:00
YiQianYao f722c36163
Shihui (#962)
* feat: 增加 bloomPass1.0、修改渲染流程,让 multiPass 有正确的渲染顺序

* style: lint style

* feat: 取消 bloom 在 postprocessor 中的多次渲染(没有明显优化)

* feat: polygon extrude 模式支持配置固定高度

* style: lint style

* feat: 优化后处理 bloom 的效果

* feat: 修改交替绘制 bloom 的写法

* style: lint style

* feat: 完善 iconService 加载渲染和销毁

* style: lint style

* feat: 补全 mapbox 模式下等面积点

* style: lint style

* fix: 修复 pointLayer animate 模式 opacity 失效

* style: lint style

* feat: 拆分 pointLayer 的 shader

* style: lint sytle

* feat: 拆分 lineLayer 的 linear 模式

* style: lint style

* feat: 优化点击的拾取判断

* style: lint style

* feat: 取消圆柱 shader 中的三元表达式、增强健壮性

* feat: 点图层圆柱体支持固定高度配置 heightfixed

* feat: 点图层圆柱体支持拾取高亮颜色的光照计算

* style: lint style

* style: lint style

* feat: 拆分 lintLayer line 模式下的 dash line

* style: lint style
2022-02-14 16:55:34 +08:00
2912401452 8e83dfa631 chore: update version 2.7.10 -> 2.7.11 2022-02-12 19:19:17 +08:00
YiQianYao 8763a3a718
Shihui (#960)
* feat: 补全 mapbox 模式下等面积点

* style: lint style

* fix: 修复 pointLayer animate 模式 opacity 失效

* style: lint style

* feat: 拆分 pointLayer 的 shader

* style: lint sytle

* feat: 拆分 lineLayer 的 linear 模式

* style: lint style

* feat: 优化点击的拾取判断

* style: lint style
2022-02-12 19:13:59 +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
YiQianYao 30868cb2d5
Shihui (#956)
* feat: 完善 iconService 加载渲染和销毁

* style: lint style
2022-02-10 12:04:09 +08:00
YiQianYao ef1d867ba7
Shihui (#955)
* feat: 优化后处理 bloom 的效果

* feat: 修改交替绘制 bloom 的写法

* style: lint style
2022-02-09 16:19:36 +08:00
2912401452 556f9c5c75 chore: update version 2.7.6 -> 2.7.7 2022-02-08 18:34:19 +08:00
2912401452 c92a6af563 chore: update version 2.7.5 -> 2.7.6 2022-02-08 17:16:22 +08:00
YiQianYao b9f75e5a2c
Shihui (#953)
* feat: 取消 bloom 在 postprocessor 中的多次渲染(没有明显优化)

* feat: polygon extrude 模式支持配置固定高度

* style: lint style
2022-02-08 17:14:40 +08:00
2912401452 5af972f344 chore: update version 2.7.4 -> 2.7.5 2022-02-08 16:00:35 +08:00
YiQianYao a13b5ff2c8
Shihui (#952)
* feat: 增加 bloomPass1.0、修改渲染流程,让 multiPass 有正确的渲染顺序

* style: lint style
2022-02-08 15:56:12 +08:00
2912401452 fd2788b893 chore: update version 2.7.3 -> 2.7.4 2022-02-07 17:48:43 +08:00
YiQianYao 186f6c21f9
Passdev (#951)
* fix: 恢复后处理,修复后处理和拾取的不兼容

* style: lint style
2022-02-07 17:45:46 +08:00
2912401452 77c5c8f5ea chore: update version 2.7.2 -> 2.7.3 2022-01-26 11:21:52 +08:00
2912401452 cf46fbc927 chore: update version 2.7.1 -> 2.7.2 2022-01-24 17:51:48 +08:00
YiQianYao 755c9d23db
Mask (#946)
* feat: 增加着色器的拾取计算控制、完善 arcmini

* feat: 完善 enableShaderPick/disableShaderPick 功能

* style: lint style

* feat: 补充调用高德地图公交线路查询 demo

* style: lint style

* feat: 优化弧线的纹理动画

* style: lint style

* feat: 去除greatCircle 的纹理动画优化

* feat: 扩展点图层圆柱效果

* feat: 增加几何体的径向渐变配置

* style: lint style

* fix: 修复bug 图层触发的事件跟图层设置的zIndex无关,只跟插入图层先后顺序有关

* style: lint style

* feat: 补全挤出几何体拾取颜色的光照配置

* style: lint style

* fix: 修复圆柱 cull 问题 mapbox amap 不同

* feat: 图层销毁时的内存泄漏

* style: lint style

* feat: 平面弧线新增弧线偏移量的数据映射能力

* style: lint style

* fix: 修复重复销毁bug

* style: lint style

* feat: 修复 texture 重复销毁问题

* style: lint style

* fix: 修复图层叠加模式下的拾取失效问题

* style: lint style

* fix: 修复纹理贴图在 zoom 大于 12 时存在的问题

* fix: 修复水波点颜色偏暗

* feat: 优化点图层的渲染效果,叠加渲染效果

* style: lint style

* fix: 修复 layer contextmenu 事件丢失

* fix: 修复 map 类型 resize 失效

* style: lint style

* feat: 增加瓦片地图的请求节流

* style: lint style

* feat: 优化热力图在 radius 数值比较大时热力点边缘发生裁剪的现象

* style: lint style

* fix: 修复resize 后 picking shiqu 拾取失败的问题

* feat: 优化 marker/popup 在容器边缘的表现

* feat: 增加 setEnableRender 方法

* style: lint style

* feat: 增加城市图层扫光特效

* style: lint style

* feat: 补全拾取色混合配置

* style: lint style

* feat: 增加高德地图的面积大小点

* style: lint style

* feat: 点优化边缘锯齿

* fix: 修复pointLayer stroke 变暗问题

* fix: 修复混合导致的拾取错误

* feat: add simple point 1.0

* style: lint style

* feat: simple point support stroke

* style: lint style

* feat: 优化 simple point 边缘的锯齿

* style: lint style

* feat: add point cylinder raising animate

* style: lint style

* feat: 优化点图层 icon 在小尺寸下的锯齿问题

* style: lint style

* feat: 修复 layer destroy 报错、未清理、未重绘、补充触发 destroy 事件

* fix: 修复 marker 在 cluster getMakers 失效

* style: lint style

* feat: 清除 marker layer cluster fix

* style: lint style

* fix: 修复 markerLayer hide show 方法缺少 cluster 模式下的控制

* style: lint style

* feat: 取消在 shape 方法执行后的暴力更新

* style: lint style

* feat: 增加图层保底颜色设置

* style: lint style

* feat: 将兜底颜色改为 bottomColor

* fix: color bottom

* style: lint style

* feat: 修改颜色兜底判断逻辑

* style: lint style

* feat: add tnpm dist-tag

* feat: 增加line border 边框

* style: lint style

* feat: 增加 layer 重复销毁过滤

* style: lint style

* feat: 新增 wall 图层

* style: lint style

* feat: add image minimap

* style: lint style

* feat: 增加 pointLayer image mipmap 支持

* style: lint style

* feat: 调整点图层 image size 和之前保持一致

* fix: 修复线图层在存在高度的情况下,不同地图,不同场景下的效果兼容

* style: lint style

* fix: 修复线纹理在 mapbox 下表现不一致

* style: lint style

* fix: 修复 threejs 图层导致 L7 图层失效的问题

* style: lint style

* feat: 增加 simple line、修复 pointLayer meter 单个数据失效的情况

* style: lint style

* feat: 优化 simple line 效果

* style: lint style

* feat: 完善 demo

* style: lint style

* feat: adjust demo

* style: lint style

* feat: 修改简单线体层的 shape 参数

* feat: change simple lint type

* feat: demo fix

* style: lint style

* fix: 修复聚合图在放大、缩小时计算的 data 数量不同的问题

* style: lint style

* feat: demo 调整

* feat: 完善 demo

* feat: 提供相机运动相关方法 0.1

* feat: 增加 mask 0.1

* style: lint style

* feat: 增加 demo

* style: lint style

* feat: pickbox 返回值增加选中id

* style: lint style

* feat: 完善掩模能力

* style: lint style

* feat: 完善蒙层方案

* style: lint style

* feat: 增加 点图层 mask 支持

* style: lint style

* feat: 图片图层支持 mask

* style: lint style

* feat: heatmap support mask

* style: lint style

* feat: rasterLayer support mask

* style: lint style

* feat: polygonLayer support mask

* style: lint style

* feat: change raster mask demo

* style: lint style

* feat: pointLayer text support mask

* style: lint style

* feat: 改变 maskLayer 的默认透明度

* style: lint style
2022-01-24 17:46:10 +08:00
2912401452 80d5642215 chore: update version 2.7.0 -> 2.7.1 2022-01-20 20:24:41 +08:00
2912401452 fa9b431e77 Merge branch 'master' of https://github.com/antvis/L7 2022-01-20 20:22:42 +08:00
YiQianYao 540014e853
Shihuidev (#944)
* feat: pickbox 返回值增加选中id

* style: lint style
2022-01-20 20:21:39 +08:00
2912401452 090b8472ce Merge branch 'master' of https://github.com/antvis/L7 2022-01-18 16:05:07 +08:00
@thinkinggis 2bafd85df9
Feat cluster (#939)
* feat: add cluster demo

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

layer  增加cluster zoom 标识符'

* fix(source): lint error

Co-authored-by: YiQianYao <42212176+2912401452@users.noreply.github.com>
2022-01-18 16:01:29 +08:00
2912401452 8057d8bd38 chore: update version 2.6.36 -> 2.7.0 2022-01-17 14:31:03 +08:00
2912401452 976be1bff6 chore: update version 2.6.35 -> 2.6.36 2022-01-14 17:25:44 +08:00
2912401452 f98f61d9f2 chore: update version 2.6.34 -> 2.6.35 support linearColor 2022-01-13 15:39:07 +08:00
2912401452 9dacb2c76b chore: update version 2.6.33 -> 2.6.34 2022-01-13 14:31:08 +08:00
susiwen8 5a82fe28e9
fix: `active` and `select` can coexist (#914)
* fix: `active` and `select` can coexist

* style: dov style

* fix: use `v_PickingResult.a` as status

* style: code style

* chore: remove extra semi-colon

* chore: add `u_EnableSelect` to optimize perf

* style: code style
2022-01-10 13:44:43 +08:00
YiQianYao 4ff2d88eab
Shihuidev (#921)
fix: 修复线纹理在 mapbox 下表现不一致
2022-01-06 19:30:41 +08:00
2912401452 ed7687b4e3 chore: update version 2.6.32 -> 2.6.33 2022-01-04 19:08:53 +08:00
2912401452 e99936430a chore: update version 2.6.31 -> 2.6.32 2022-01-04 15:15:57 +08:00
YiQianYao 20eee04de2
Shihuidev (#911)
* feat: 增加着色器的拾取计算控制、完善 arcmini

* feat: 完善 enableShaderPick/disableShaderPick 功能

* style: lint style

* feat: 补充调用高德地图公交线路查询 demo

* style: lint style

* feat: 优化弧线的纹理动画

* style: lint style

* feat: 去除greatCircle 的纹理动画优化

* feat: 扩展点图层圆柱效果

* feat: 增加几何体的径向渐变配置

* style: lint style

* fix: 修复bug 图层触发的事件跟图层设置的zIndex无关,只跟插入图层先后顺序有关

* style: lint style

* feat: 补全挤出几何体拾取颜色的光照配置

* style: lint style

* fix: 修复圆柱 cull 问题 mapbox amap 不同

* feat: 图层销毁时的内存泄漏

* style: lint style

* feat: 平面弧线新增弧线偏移量的数据映射能力

* style: lint style

* fix: 修复重复销毁bug

* style: lint style

* feat: 修复 texture 重复销毁问题

* style: lint style

* fix: 修复图层叠加模式下的拾取失效问题

* style: lint style

* fix: 修复纹理贴图在 zoom 大于 12 时存在的问题

* fix: 修复水波点颜色偏暗

* feat: 优化点图层的渲染效果,叠加渲染效果

* style: lint style

* fix: 修复 layer contextmenu 事件丢失

* fix: 修复 map 类型 resize 失效

* style: lint style

* feat: 增加瓦片地图的请求节流

* style: lint style

* feat: 优化热力图在 radius 数值比较大时热力点边缘发生裁剪的现象

* style: lint style

* fix: 修复resize 后 picking shiqu 拾取失败的问题

* feat: 优化 marker/popup 在容器边缘的表现

* feat: 增加 setEnableRender 方法

* style: lint style

* feat: 增加城市图层扫光特效

* style: lint style

* feat: 补全拾取色混合配置

* style: lint style

* feat: 增加高德地图的面积大小点

* style: lint style

* feat: 点优化边缘锯齿

* fix: 修复pointLayer stroke 变暗问题

* fix: 修复混合导致的拾取错误

* feat: add simple point 1.0

* style: lint style

* feat: simple point support stroke

* style: lint style

* feat: 优化 simple point 边缘的锯齿

* style: lint style

* feat: add point cylinder raising animate

* style: lint style

* feat: 优化点图层 icon 在小尺寸下的锯齿问题

* style: lint style

* feat: 修复 layer destroy 报错、未清理、未重绘、补充触发 destroy 事件

* fix: 修复 marker 在 cluster getMakers 失效

* style: lint style

* feat: 清除 marker layer cluster fix

* style: lint style

* fix: 修复 markerLayer hide show 方法缺少 cluster 模式下的控制

* style: lint style

* feat: 取消在 shape 方法执行后的暴力更新

* style: lint style

* feat: 增加图层保底颜色设置

* style: lint style

* feat: 将兜底颜色改为 bottomColor

* fix: color bottom

* style: lint style

* feat: 修改颜色兜底判断逻辑

* style: lint style

* feat: add tnpm dist-tag

* feat: 增加line border 边框

* style: lint style

* feat: 增加 layer 重复销毁过滤

* style: lint style

* feat: 新增 wall 图层

* style: lint style

* feat: add image minimap

* style: lint style
2022-01-04 15:11:53 +08:00
@thinkinggis 7a588e4ecc
fix: 更新相关依赖 (#903)
Co-authored-by: 象数 <zhengxue.lzx@antgroup.com>
2021-12-31 16:29:07 +08:00
2912401452 fbd3b73947 chore: update version 2.6.30 -> 2.6.31 2021-12-28 19:37:59 +08:00
2912401452 53fe05f102 chore: update version 2.6.29 -> 2.6.30 2021-12-28 11:11:40 +08:00
2912401452 60be514ba6 style: lint style 2021-12-28 11:00:51 +08:00
2912401452 4e3cb3a1de fix: 修改 scene destroy、兼容 L7React scene 和 layer 同时销毁导致的问题 2021-12-28 10:57:33 +08:00
2912401452 6250302f9e chore: update version 2.6.28 -> 2.6 29 2021-12-27 19:15:39 +08:00
2912401452 3ae08f18bc chore: update version 2.6.27 -> 2.6.28 2021-12-27 11:44:34 +08:00
2912401452 c057c2146b chore: update version 2.6.26 -> 2.6.26 fix bug 2021-12-27 11:05:12 +08:00
2912401452 e8c129996b chore: update version 2.6.25 -> 2.6.26 2021-12-24 18:01:33 +08:00
YiQianYao 214c039723
Shihuidev (#898)
* feat: 增加着色器的拾取计算控制、完善 arcmini

* feat: 完善 enableShaderPick/disableShaderPick 功能

* style: lint style

* feat: 补充调用高德地图公交线路查询 demo

* style: lint style

* feat: 优化弧线的纹理动画

* style: lint style

* feat: 去除greatCircle 的纹理动画优化

* feat: 扩展点图层圆柱效果

* feat: 增加几何体的径向渐变配置

* style: lint style

* fix: 修复bug 图层触发的事件跟图层设置的zIndex无关,只跟插入图层先后顺序有关

* style: lint style

* feat: 补全挤出几何体拾取颜色的光照配置

* style: lint style

* fix: 修复圆柱 cull 问题 mapbox amap 不同

* feat: 图层销毁时的内存泄漏

* style: lint style

* feat: 平面弧线新增弧线偏移量的数据映射能力

* style: lint style

* fix: 修复重复销毁bug

* style: lint style

* feat: 修复 texture 重复销毁问题

* style: lint style

* fix: 修复图层叠加模式下的拾取失效问题

* style: lint style

* fix: 修复纹理贴图在 zoom 大于 12 时存在的问题

* fix: 修复水波点颜色偏暗

* feat: 优化点图层的渲染效果,叠加渲染效果

* style: lint style

* fix: 修复 layer contextmenu 事件丢失

* fix: 修复 map 类型 resize 失效

* style: lint style

* feat: 增加瓦片地图的请求节流

* style: lint style

* feat: 优化热力图在 radius 数值比较大时热力点边缘发生裁剪的现象

* style: lint style

* fix: 修复resize 后 picking shiqu 拾取失败的问题

* feat: 优化 marker/popup 在容器边缘的表现

* feat: 增加 setEnableRender 方法

* style: lint style

* feat: 增加城市图层扫光特效

* style: lint style

* feat: 补全拾取色混合配置

* style: lint style

* feat: 增加高德地图的面积大小点

* style: lint style

* feat: 点优化边缘锯齿

* fix: 修复pointLayer stroke 变暗问题

* fix: 修复混合导致的拾取错误

* feat: add simple point 1.0

* style: lint style

* feat: simple point support stroke

* style: lint style

* feat: 优化 simple point 边缘的锯齿

* style: lint style

* feat: add point cylinder raising animate

* style: lint style

* feat: 优化点图层 icon 在小尺寸下的锯齿问题

* style: lint style

* feat: 修复 layer destroy 报错、未清理、未重绘、补充触发 destroy 事件

* fix: 修复 marker 在 cluster getMakers 失效

* style: lint style

* feat: 清除 marker layer cluster fix

* style: lint style

* fix: 修复 markerLayer hide show 方法缺少 cluster 模式下的控制

* style: lint style

* feat: 取消在 shape 方法执行后的暴力更新

* style: lint style

* feat: 增加图层保底颜色设置

* style: lint style

* feat: 将兜底颜色改为 bottomColor
2021-12-24 17:56:35 +08:00
2912401452 5161d0852c chore: update version 2.6.24 -> 2.6.25 2021-12-23 19:24:07 +08:00
YiQianYao 139a034709
Shihuidev (#896)
* feat: 增加着色器的拾取计算控制、完善 arcmini

* feat: 完善 enableShaderPick/disableShaderPick 功能

* style: lint style

* feat: 补充调用高德地图公交线路查询 demo

* style: lint style

* feat: 优化弧线的纹理动画

* style: lint style

* feat: 去除greatCircle 的纹理动画优化

* feat: 扩展点图层圆柱效果

* feat: 增加几何体的径向渐变配置

* style: lint style

* fix: 修复bug 图层触发的事件跟图层设置的zIndex无关,只跟插入图层先后顺序有关

* style: lint style

* feat: 补全挤出几何体拾取颜色的光照配置

* style: lint style

* fix: 修复圆柱 cull 问题 mapbox amap 不同

* feat: 图层销毁时的内存泄漏

* style: lint style

* feat: 平面弧线新增弧线偏移量的数据映射能力

* style: lint style

* fix: 修复重复销毁bug

* style: lint style

* feat: 修复 texture 重复销毁问题

* style: lint style

* fix: 修复图层叠加模式下的拾取失效问题

* style: lint style

* fix: 修复纹理贴图在 zoom 大于 12 时存在的问题

* fix: 修复水波点颜色偏暗

* feat: 优化点图层的渲染效果,叠加渲染效果

* style: lint style

* fix: 修复 layer contextmenu 事件丢失

* fix: 修复 map 类型 resize 失效

* style: lint style

* feat: 增加瓦片地图的请求节流

* style: lint style

* feat: 优化热力图在 radius 数值比较大时热力点边缘发生裁剪的现象

* style: lint style

* fix: 修复resize 后 picking shiqu 拾取失败的问题

* feat: 优化 marker/popup 在容器边缘的表现

* feat: 增加 setEnableRender 方法

* style: lint style

* feat: 增加城市图层扫光特效

* style: lint style

* feat: 补全拾取色混合配置

* style: lint style

* feat: 增加高德地图的面积大小点

* style: lint style

* feat: 点优化边缘锯齿

* fix: 修复pointLayer stroke 变暗问题

* fix: 修复混合导致的拾取错误

* feat: add simple point 1.0

* style: lint style

* feat: simple point support stroke

* style: lint style

* feat: 优化 simple point 边缘的锯齿

* style: lint style

* feat: add point cylinder raising animate

* style: lint style

* feat: 优化点图层 icon 在小尺寸下的锯齿问题

* style: lint style

* feat: 修复 layer destroy 报错、未清理、未重绘、补充触发 destroy 事件

* fix: 修复 marker 在 cluster getMakers 失效

* style: lint style

* feat: 清除 marker layer cluster fix

* style: lint style

* fix: 修复 markerLayer hide show 方法缺少 cluster 模式下的控制

* style: lint style
2021-12-23 19:20:28 +08:00
2912401452 f32c721c1b chore: update version 2.6.23 -> 2.6.24 2021-12-22 19:24:01 +08:00
2912401452 14d6525f8e chore: update version 2.6.22 -> 2.6.23 2021-12-22 16:11:17 +08:00
YiQianYao f6771f4c54
Shihuidev (#891)
* feat: 增加着色器的拾取计算控制、完善 arcmini

* feat: 完善 enableShaderPick/disableShaderPick 功能

* style: lint style

* feat: 补充调用高德地图公交线路查询 demo

* style: lint style

* feat: 优化弧线的纹理动画

* style: lint style

* feat: 去除greatCircle 的纹理动画优化

* feat: 扩展点图层圆柱效果

* feat: 增加几何体的径向渐变配置

* style: lint style

* fix: 修复bug 图层触发的事件跟图层设置的zIndex无关,只跟插入图层先后顺序有关

* style: lint style

* feat: 补全挤出几何体拾取颜色的光照配置

* style: lint style

* fix: 修复圆柱 cull 问题 mapbox amap 不同

* feat: 图层销毁时的内存泄漏

* style: lint style

* feat: 平面弧线新增弧线偏移量的数据映射能力

* style: lint style

* fix: 修复重复销毁bug

* style: lint style

* feat: 修复 texture 重复销毁问题

* style: lint style

* fix: 修复图层叠加模式下的拾取失效问题

* style: lint style

* fix: 修复纹理贴图在 zoom 大于 12 时存在的问题

* fix: 修复水波点颜色偏暗

* feat: 优化点图层的渲染效果,叠加渲染效果

* style: lint style

* fix: 修复 layer contextmenu 事件丢失

* fix: 修复 map 类型 resize 失效

* style: lint style

* feat: 增加瓦片地图的请求节流

* style: lint style

* feat: 优化热力图在 radius 数值比较大时热力点边缘发生裁剪的现象

* style: lint style

* fix: 修复resize 后 picking shiqu 拾取失败的问题

* feat: 优化 marker/popup 在容器边缘的表现

* feat: 增加 setEnableRender 方法

* style: lint style

* feat: 增加城市图层扫光特效

* style: lint style

* feat: 补全拾取色混合配置

* style: lint style

* feat: 增加高德地图的面积大小点

* style: lint style

* feat: 点优化边缘锯齿

* fix: 修复pointLayer stroke 变暗问题

* fix: 修复混合导致的拾取错误

* feat: add simple point 1.0

* style: lint style

* feat: simple point support stroke

* style: lint style

* feat: 优化 simple point 边缘的锯齿

* style: lint style
2021-12-22 16:07:22 +08:00