Commit Graph

23 Commits

Author SHA1 Message Date
YiQianYao 9bf6a17d88
feat: 瓦片图层、地图图层渲染性能/体验优化 (#1329)
* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* feat: 优化简单矢量线瓦片的计算

* feat: 优化简单线图层的网格计算构建

* style: lint style

* style: lint style

* feat: 矢量瓦片更新渲染优化

* fix: 修复 tileLayer 重复创建导致的瓦片更新错误

* feat: 优化矢量瓦片图层本身的性能

* style: lint style

* feat: 优化 reRender 的调用

* feat: 合并瓦片销毁时的重绘

* feat: 去除矢量文本图层的 remapping 映射

* feat: 网格构建异步改造修复

* feat: 瓦片渲染流程优化

* feat: 通用瓦片流程的优化(主线程阻塞优化)

* feat: 补全瓦片更新触发

* feat: 默认顶点属性构建的优化

* style: lint style

* feat: 调整矢量点 uniform 参数

* chore: 去除矢量图层对偏移坐标的支持(不统一)

* style: lint style

* feat: 合并不同瓦片图层触发的重绘

* style: lint style

* chore: 调整瓦片代码结构

* feat: 矢量图层初始化优化

* chore: code clean

* feat: 矢量图层地图绘制数据属性映射优化

* chore: lint style

* feat: 矢量图层地图绘制初始化优化

* feat: maskLayer 初始化优化、debugtestLayer 默认为 basemap 模式

* chore: style

* feat: 绘制指令优化 - picking drawCommand

* style: lint style

* feat: 优化矢量图层初始化资源的创建

* feat: 简化矢量瓦片图层加载完成触发的重绘

* chore: 统一地图图层的样式写法 color、size

* style: lint style

* style: lint style

* style: lint style

* feat: 瓦片渲染执行优化
 Please enter the commit message for your changes. Lines starting

* feat: 优化拾取渲染

* style: lint style

* chore: style change

* style: lint style

* feat: layer plugin list clean

* style: lint style

* feat: 合并shader 使用

* style: lint style

* feat: 优化 source 计算

* feat: 去除 source 中对创建 tileset 的多余判断

* chore: 优化代码写法

* feat: 地图瓦片图层类型定义优化

* chore: data clean

* style: lint style

* style: lint style

* feat: debugLayer add basemap attr

* chore: demo 调整

* feat: 优化瓦片图层的渲染

* feat: 修改瓦片显示更新

* fix: 修复动画模式传值导致的显示效果问题

* fix: 修复 mapbox version 设置错误的问题

* fix: 修复 CanvasLayer render

* style: lint style

* chore: clean citybuilding demo

* style: lint style

* chore: clean point simple code

* chore: clean point text iconfont

* chore: clean polygon fill code

* style: lint style

* chore: clean billboard demo

* chore: clean polygon water/ocean demos

* chore: clean point radar demos

* chore: clean point normal demos

* chore: clean wind layer demos

* chore: clean demos

* feat: clean demos & fix half line insert attri

* style: lint style

* chore: clean mask demo

* chore: adjust website demo

* style: lint style

* chore: clean worker demos

* style: lint style

* fix: 修复箭头顶点重复插入的问题

* fix: 修复线图层弧线的纹理分布

* chore: website demos code clean

* chore: layerService/renderlayers move clear place

* feat: 优化图片瓦片的颜色映射

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-09-19 16:03:18 +08:00
YiQianYao c8720ebda5
feat: sprite 粒子增加运动边界参数 spriteBottom (#1174)
* feat: 去处事件节流

* feat: sprite 补充参数
2022-06-22 10:59:32 +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 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 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 4b5e86a009
增加线图层在配置箭头的时候支持配置线尾部宽度 (#1060)
* feat: 线图层的箭头模式支持配置尾部宽度

* style: lint style
2022-04-18 17:53:39 +08:00
YiQianYao c4c59abddf
Shihui (#1056)
* feat: 增强 scene.addLayer 方法

* feat: 完善 scene.addLayer 方法

* feat: 新增粒子图层

* style: lint style
2022-04-15 16:36:48 +08:00
YiQianYao d4d2068150
Arrow (#1051)
* fix: 修复 GeometryLayer 失效

* feat: 线图层支持箭头样式

* style: lint style

* feat: 增加注释

* feat: 变量名替换
2022-04-13 11:43:51 +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
YiQianYao fe300a4c9b
Shihui (#1020)
* feat: 图层支持配置 cursor

* style: lint style
2022-03-28 15:59:02 +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 5c1fbee30e feat: 调整官网水位图 demo 2022-03-20 17:25:14 +08:00
2912401452 3a320c7aed feat: 补充官网 CanvasLayer 文档、调整参数名 2022-03-18 18:09:42 +08:00
2912401452 7f87ad8dff style: lint style 2022-03-18 15:00:07 +08:00
2912401452 a32cd05914 feat: 完善 CanvasLayer 动画、增加 CanvasLayer demo 2022-03-18 14:59:22 +08:00
YiQianYao 499684ee09
Shihui (#1010)
* feat: 修改 CanvasLayer drawingOnCanvas 的 参数

* style: lint style

* feat: 新增 geometryLayer plane
2022-03-18 11:00:42 +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
YiQianYao d6cb7da3a7
Shihui (#1000)
* feat: add oceanLayer

* style: lint style
2022-03-11 14:01:12 +08:00
YiQianYao cf0ac84a23
Shihui (#999)
* feat: 补充雷达图

* style: lint style
2022-03-10 19:03:37 +08:00
YiQianYao 888ead7eb4
Shihui (#998)
* feat: 完善 fillimage 的销毁

* feat: 完善 lineLayer 顶点构建时候对边界条件的兼容、增加台风案例

* feat: 增加台风案例

* docs: 完善官网 fillimage 的 demo
2022-03-10 14:11:19 +08:00
YiQianYao 50cc41da17
Shihui (#997)
* feat: add water layer

* feat: 新增 waterLayer

* style: lint style
2022-03-09 17:48:23 +08:00