Commit Graph

988 Commits

Author SHA1 Message Date
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