Commit Graph

4850 Commits

Author SHA1 Message Date
YiQianYao a18c742d2c
fix: 修复一些问题 (#1149)
* fix: 完善 hammerjs 事件的解除监听

* fix: 在事件节流中排除 dblclick

* fix: polygon 采用双面渲染
2022-06-15 11:18:31 +08:00
YiQianYao 818e0ac8a1
chore: update version 2.8.42 -> 2.8.43 (#1148)
* chore: update version 2.8.41 -> 2.8.42

* chore: update version 2.8.42 -> 2.8.43
2022-06-14 10:21:36 +08:00
@thinkinggis 254aa6c349
Fix: 高德地图坐标转换 (#1147)
* fix: d3 依赖版本ie 兼容问题

* chore: 经纬度转平面坐标方法
2022-06-13 10:13:04 +08:00
YiQianYao 1663502b1d
chore: update version 2.8.41 -> 2.8.42 (#1146) 2022-06-09 23:33:56 +08:00
YiQianYao 594fee096e
fix: IE11 兼容测试 (#1145)
* fix: 修复 L7 在 IE11 的兼容问题

* style: lint style

* fix: 兼容 IE 获取 globalThis
2022-06-09 19:09:30 +08:00
YiQianYao a405cac6b7
fix: 修复样式数据映射失效 (#1143)
* fix: 修复样式数据映射失效

* style: lint style
2022-06-07 17:47:56 +08:00
YiQianYao 41ef82713d
chore: 修改 lerna 版本号升级指令,l7 包内部固定依赖版本 (#1142) 2022-06-06 18:56:35 +08:00
YiQianYao 7b6879067d
chore: update version 2.8.40 -> 2.8.41 (#1138) 2022-05-31 16:08:50 +08:00
YiQianYao eec1ab4cbd
feat: 高德2动态设置中心点 (#1137) 2022-05-31 15:56:44 +08:00
YiQianYao 57dffcfc15
chore: 修改 d3-interpolate 类型定义依赖版本 (#1136)
* style: lint style

* chore: 修改 d3-interpolate 类型定义文件
2022-05-31 15:22:23 +08:00
YiQianYao 8400d2464c
chore: update version 2.8.39 -> 2.8.40 (#1135)
* fix: 修复 mouseup 失效

* chore: update version 2.8.36 -> 2.8.37

* chore: update version 2.8.37 -> 2.8.38

* fix: 修复高德2动态顶点错误

* chore: update version 2.8.38 -> 2.8.39

* fix: 修复计算图层数据中心点时可能存在的计算错误

* style: lint style

* chore: update version 2.8.39 -> 2.8.40
2022-05-31 15:04:02 +08:00
YiQianYao 9fafa41522
fix: 修复计算图层数据中心点时可能存在的计算错误 (#1134)
* fix: 修复 mouseup 失效

* chore: update version 2.8.36 -> 2.8.37

* chore: update version 2.8.37 -> 2.8.38

* fix: 修复高德2动态顶点错误

* chore: update version 2.8.38 -> 2.8.39

* fix: 修复计算图层数据中心点时可能存在的计算错误

* style: lint style
2022-05-31 14:52:37 +08:00
@thinkinggis b05606506b
fix: d3 依赖版本ie 兼容问题 (#1133) 2022-05-31 14:11:41 +08:00
YiQianYao 0f665001da
fix: 修复引入高德2动态设置中心点导致的问题 (#1131)
* fix: 修复 mouseup 失效

* chore: update version 2.8.36 -> 2.8.37

* chore: update version 2.8.37 -> 2.8.38

* fix: 修复高德2动态顶点错误
2022-05-30 23:06:55 +08:00
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
YiQianYao 00072e2d9d
chore: remove geo coord (#1122) 2022-05-23 19:28:35 +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
susiwen8 2b9c850183
doc: wrong word (#1119) 2022-05-23 17:57:17 +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 a6e32892ac
docs: 官网文档新增 createModelData/updateModelData 方法的 demo、文档 (#1083)
* chore: update version 2.8.30 -> 2.8.31

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

* style: lint style

* docs: 增加官网依赖配置

* feat: 增加公交时序数据

* docs: 为地形 demo 增加 LOD

* style: lint style

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

* style: lint style

* docs: 官网文档新增 createModelData/updateModelData 方法的 demo、文档
2022-04-26 19:15:43 +08:00
YiQianYao 44bfbfe803
publish: update version 2.8.32 -> 2.8.33 (#1081) 2022-04-25 19:53:22 +08:00
YiQianYao aa2e9540de
feat: 图层新增 creatModelData 与 updateModelData 方法 (#1064)
* feat: 支持提前计算 attribute/elements 并更新 models

* style: lint style

* feat: 支持 lineLayer 的 models 更新 attributes/elements

* style: lint style

* chore: update version 2.8.30 -> 2.8.31

* feat: 完善 geometry 加载地形的 lod

* style: lint style

* feat: rename func updateMudelsData to updateModelData

* feat: pointLayer simple 支持 initModelData/updateModelData

* feat: 增加顶点更新 demo

* style: lint style

* feat: reset func name => initModelData => createModelData
2022-04-25 19:36:58 +08:00
YiQianYao 90f92f069b
fix: canvas layer issues fixed (#1080)
* chore: update version 2.8.30 -> 2.8.31

* feat: 修复 canvasLayer hide/show 方法的失效

* fix: 修复 canvasLayer 在销毁时候的问题

* style: lint style
2022-04-25 15:11:34 +08:00
YiQianYao c58ea55551
chore: update version 2.8.31 -> 2.8.32 (#1079)
* chore: update version 2.8.30 -> 2.8.31

* chore: update version 2.8.31 -> 2.8.32

* style: lint style
2022-04-24 19:02:21 +08:00
YiQianYao 15dc2366de
chore: update vetsion 2.8.31 -> 2.8.32 (#1078)
* chore: update version 2.8.30 -> 2.8.31

* chore: update version 2.8.31 -> 2.8.32

* style: lint style
2022-04-24 17:06:33 +08:00
YiQianYao 5f445479a2
docs: 补充官网文档 (#1077)
* chore: update version 2.8.30 -> 2.8.31

* docs: 增加框选的 demo

* docs: 补充 raisingHeight 的文档

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

* docs: 增加框选的 demo

* docs: 补充 raisingHeight 的文档
2022-04-24 16:52:31 +08:00
YiQianYao 9f075803fb
feat: polygon fill/point wave support raisingHeight、polygon add topsurface/sidesurface (#1074)
* chore: update version 2.8.30 -> 2.8.31

* feat: polygon fill 支持配置 raisingHeight

* feat: polygon extrude 支持配置 side/top 的显隐

* feat: pointLayer fill/wave support raisingHeight

* style: lint style

* docs: update demo

* feat: update demo
2022-04-24 14:14:47 +08:00
YiQianYao 17d7f36cfb
ci: 修改 lerna 发布保护分支规则 (#1071)
* chore: update version 2.8.30 -> 2.8.31

* chore: change lerna publish branch
2022-04-21 14:42:43 +08:00