Go to file
heiyexing d4c1921b1e
Feat: L7 Component 完备性升级 (#1391)
* feat: 1.BaseControl 升级

* build: 将 css 迁移至 less 中

* feat: 1.BaseControl 升级

* fix: l7-utils 添加对 lodash 的依赖

* feat: 1.修复控件布局问题  2.拆分 BaseControl 样式文件 3.新增 Control 文档

* Feat yanxiong merge (#1380)

* feat: 1.新增扫光中心sweepCenter  2.完善扫光Layer配置API和demo

* feat: 1.新增wind图层

* fix: 1.eslint问题

* feat: 1.新增WindLayer 文档和Example

* fix: 1.风场图层文档新增示例图片

* feat: 1.新增轨迹/围墙Example

* feat: 1.新增线图层Demo

* chore: 工程配置优化 (#1278)

* docs: 文档的相关配置

* chore: package json 测试覆盖

* test(source): test

* fix: test ci

* chore: ci

* chore: ci add worker build

* chore: glsl 支持热更新

* chore: test cover view

* chore: ci test

* feat: raisingHeight/heightFixed 补全 (#1280)

* feat: 去除多余 demo、提取图层共用类型定义

* feat: 点图层支持 heightfixed

* feat: point fillImage 支持 raisingHeight

* feat: 点图层 fill、fillImage 补全 raigingHeight\heightFixed

* feat: 点图层 point image 完善对 raisingHeight\heightFixed 的支持

* feat: 修改类型定义

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* feat: 优化图片的显示效果 (#1282)

* feat: 优化栅格瓦片的显示效果

* style: lint style

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* feat: 1.修复控件布局问题  2.拆分 BaseControl 样式文件 3.新增 Control 文档

* fix: 还原 eslintrc 变更

* Chore test preCommit 增加测试用例校验 (#1281)

* docs: 文档的相关配置

* chore: package json 测试覆盖

* test(source): test

* fix: test ci

* chore: ci

* chore: ci add worker build

* chore: glsl 支持热更新

* chore: test cover view

* chore: ci test

* chore: precommit 增加 test 校验

* chore: remove stroybook lint add dumo demo lint

* chore: pre-commit build 校验

* chore: update ci 触发

* chore: lint 相关配置

* fix: 还原 eslintrc 变更

* feat: 1.新增 ButtonControl 基类  2.完成 Fullscreen UI 开发

* chore: lint check (#1284)

* docs: 文档的相关配置

* chore: package json 测试覆盖

* test(source): test

* fix: test ci

* chore: ci

* chore: ci add worker build

* chore: glsl 支持热更新

* chore: test cover view

* chore: ci test

* chore: precommit 增加 test 校验

* chore: remove stroybook lint add dumo demo lint

* chore: pre-commit build 校验

* chore: update ci 触发

* chore: lint 相关配置

* chore: 合并ci 任务

* fix: lint error

* fix: lint command

* chore: ci test & lint

* feat: 新增枚举类型的色带 (#1283)

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* Chore: 修复部分lint 警告,pre-commit 移除build命令 (#1285)

* chore: lint unuse

* chore: pre commit command

* chore: pre-commit 去除build 命令

* feat: add test case (#1286)

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* feat: 完善 ButtonControl 基类

* feat: 修改 simple line 的网格构建和渲染方式 (#1288)

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* feat: 新增 popperControl 控件基类

* feat: 完成 popper UI测逻辑

* Chore: lint warn 移除未使用的import (#1287)

* chore: lint unuse

* chore: pre commit command

* chore: pre-commit 去除build 命令

* fix: 修复unuse import

* feat: 1.完善 popper 自动判定位置能力

* feat: 1. SelectControl 开发完成

* fix: 修复丢失代码

* chore: 去除无用依赖

* fix: 修复 PopperControl trigger 为 hover 时,气泡消失异常问题

* fix: 去除选中后关闭气泡的配置项

* fix: 1. Popper 参数 closeOther => unique  2. 补充方法注释

* feat: 1.新增 PopperControl 和 ButtonControl 的 setOptions 方法  2.完成 Logo 组件的升级开发

* feat: 完成 fullscreen 组件的开发

* feat: 适量图层支持透传 transfrom (#1294)

* feat: 矢量图层支持 join/transfrom 透传

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* test: 测试用例支持 new scene 对象 (#1291)

* chore: lint unuse

* chore: pre commit command

* chore: pre-commit 去除build 命令

* fix: 修复unuse import

* test: 增加gl 模拟能力

* fix: lint error

* chore: 提取测试utils 为单独包

* chore: 调整测试覆盖率值

* feat: support simple line vector layer (#1295)

* feat: 矢量图层支持 join/transfrom 透传

* style: lint style

* feat: support simple line vector tile layer

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* feat: 提供线图层偏移点位计算的通用方法 (#1293)

* feat: 增加线偏移点的计算

* style: lint style

* feat: 支持对 greatcircle 的偏移点位的计算

* feat: 完善弧线偏移点的 featureId 过滤

* style: lint style

* style: lint style

* feat: 支持对普通线偏移点的计算支持

* feat: 增加线图层偏移点位计算的测试用例

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* chore: update version 2.9.23 -> 2.9.24 (#1296)

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* chore: change publish config (#1297)

* chore: update version 2.9.23 -> 2.9.24

* chore: change test-utils packages.json

* chore: change @antv/l7-test-utils into private

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* feat: 1.完成截图组件开发

* feat: 1.完成定位组件的开发

* feat: 兼容不同amapjs 加载方式 (#1265)

* feat: 1.完成定位组件的开发

* feat: 新增 LayerControl 组件

* chore: 删除无用 Example

* fix: 修复 AMap 初始化问题

* fix: 1.锁死 screenfull 版本  2.修复 fullscreen 的按钮默认文本和样式问题

* feat: 1. Fullscreen 构造器中对当前环境是否支持全屏进行监测

* feat: 1.LayerService 中图层发生变动时触发 layerChange 事件

* feat: LayerControl 监听 LayerService 图层发生变更时的事件

* fix: 修复加载高德地图判断加载导致的缓存问题 (#1301)

* fix: 去除 amap 加载的判断

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* feat: 矢量图层支持 geojson-vt (#1302)

* feat: 矢量图层支持 geojson-vt

* feat: 优化 parser 类型获取、内置 sourceLayer

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* docs: scale demo & IE 兼容 (#1304)

* docs: 增加demo,关闭 any lint

* docs: demo& ie 兼容问题

* chore: dev-build

* feat: Scale 宽度发生变化时添加渐变效果

* feat: 控件 MapStyleControl => MapTheme

* fix: heatmap render error (#1307)

* fix: 修复热力图渲染失效

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* chore: father 配置 glsl 内联 (#1305)

* docs: 增加demo,关闭 any lint

* docs: demo& ie 兼容问题

* chore: dev-build

* chore: father 配置 glsl 内联

* chore: update version 2.9.24 -> 2.9.25 (#1308)

* fix: 修复矢量图层判断错误

* chore: update version 2.9.24 -> 2.9.25

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* feat: 新增 MapTheme 切换主题控件

* test: 新增marker测试用例 (#1309)

Co-authored-by: Dreammy23 <echo.cmy@antgroup.com>

* feat: source 支持 json 下新增 geometry 字段 (#1312)

* feat: source 支持 json 下 geometry 解析

* refactor: 优化循环逻辑

* fix: 解决聚合情况下清空图层点数据未清空BUG (#1311)

* fix: 修复 feature scale 可能存在的 source 取值问题 (#1315)

* fix: 修复 featureScale 错误

* style: lint style

* fix: 修复 feature scale 映射问题

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* fix: 修复栅格图片瓦片的混合问题 (#1316)

* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* fix: 修复栅格图片瓦片的混合问题

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* feat: 新增 Control 相关单测

* feat: 矢量文本计算优化、性能优化 (#1310)

* feat: 新增测试瓦片图层

* style: lint style

* feat: 矢量文本图层性能优化

* chore: change tiletestlayer demo

* style: lint style

* feat: 封装 TileDebugLayer 的source 模块,优化图层默认数据的配置,测试图层样式调整

* style: line style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* [chores] Remove unused dependencie (#1314)

* feat: 自定义图层 - marker&markerLayer - 多个marker节点性能优化 (#1300)

* chore: 新增marker开发demo

* style: 增加格式化空格

* marker性能优化 - 缓存计算变量:ignore (#1298)

Co-authored-by: linlb <linlb@homeking365.com>

* feat: 自定义图层 - marker&markerLayer - markerLayer多节点kmarker性能优化

* feat: 添加demo

* feat: 删除冗余代码

Co-authored-by: Dreammy23 <echo.cmy@antgroup.com>
Co-authored-by: bolry <909559682@qq.com>
Co-authored-by: linlb <linlb@homeking365.com>

* feat: 新增 MouseLocation 组件

* chore: add demo (#1319)

* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* chore: add demo

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* chore: update version 2.9.25 -> 2.9.26 (#1318)

* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* chore: update version 2.9.25 -> 2.9.26

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* feat: 修复光标经纬度不更新问题

* feat: 1.完善 Zoom 组件 2.去除旧 LayerControl 对应样式代码

* feat: 1.完善 Scale 组件升级

* test: 1.完善 LayerControl 单测

* feat: 调整 Popup 目录结构

* fix: 修复弹框类型组件隐藏时未把弹框隐藏问题

* chore: 增加覆盖率Ci (#1323)

* chore: 增加覆盖率Ci

* chore: jest locv

* fix: layer 单测样例

* fix: SelectControl 样式字体缩小

* fix: 修复 ExportImage 参数 imageType 为 jpg 不生效问题

* fix: 完善 setOptions 方法

* feat: 完成 Popup 的基础拆分

* feat: 气泡 Popup 新增互斥开关 autoClose

* feat: 气泡 Popup 新增配置按 ESC 关闭 Popup

* feat: 气泡 Popup 支持设置自定义 className 和 style

* feat: 气泡 Popup 支持设置自定义 className 和 style

* feat: 优化 Popup less 样式

* fix: 修复gaodev2下MarkerLayer清除有误问题 (#1324)

* fix: markerLayer在GaodeMapV2做底图时removeMarkerLayer视图图层层级改变时会复原被删除的图层 (#1322)

去除clear方法中调用注销监听事件

* fix: 修复gaodev2下layer清除有误问题

Co-authored-by: bolry <909559682@qq.com>
Co-authored-by: Dreammy23 <echo.cmy@antgroup.com>

* docs: remove website demos (#1328)

* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* docs: remove demos

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* feat: 完善 Popup 能力和代码注释

* docs: 移除地球模式点图层demo (#1330)

Co-authored-by: Dreammy23 <echo.cmy@antgroup.com>

* feat: 完善 Popup setOptions 方法

* test: 补充 Popup 单测文件

* feat: 初始化 LayerPopup

* feat: 气泡 Popup 新增气泡标题 title 配置

* fix: 默认source 配置 (#1331)

* fix: 修改source 为空的问题

* chore: 添加默认渲染

* feat: 完成 LayerPopup 组件的开发

* test: 补充 LayerPopup 相关的单测

* fix: source empty err (#1332)

* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* fix: fix empty source bug

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* fix: 自定义图层 - markerLayer - 修复图层执行clear后聚合能力失效问题 (#1333)

Co-authored-by: Dreammy23 <echo.cmy@antgroup.com>

* docs: website remove mapbox demos (#1334)

* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* feat: website remove mapbox demos

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* Feat custom map (#1326)

* chore(map): 地图模块重构

* feat: lealetMap for l7

* chore: amap baseservice 重构

* fix: 修改amap 样式

* fix: 单词拼写

* docs: remove website docs (#1336)

* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* feat: website remove mapbox demos

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* feat: 将 iconfont 引入方式从 css => svg

* build: worker 内联打包添补 (#1338)

* feat: 1.场景 Scene 新增 boxSelect 能力

* feat: 组件层适配 gatsby 改造

* docs: 新增 Control 和 Logo 控件文档

* fix: 按照交互稿修复组件样式

* 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>

* chore: fix spelling mistake (#1344)

* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* chore: fix spelling mistake

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* feat: 瓦片性能和代码优化 (#1347)

* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* feat: 优化数据栅格瓦片的渲染、瓦片管理流程完善

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* feat: add Hill shade demo (#1349)

* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* feat: add hillShade demo - openlayers

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* feat: 设置瓦片多服务重构、支持加载多文件 (#1350)

* 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

* chore: update version 2.9.26 -> 2.9.27-alpha.0

* chore: update version 2.9.27-alpha.0 -> 2.9.27-alpha.3

* feat: 支持 multi raster tile

* feat: add hillshade demo

* feat: 瓦片服务地址设置重构、多文件请求代码优化

* chore: 案例瓦片多服务用法修改

* chore: 类型定义优化 & api rename

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* fix: demo address err (#1351)

* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* docs: 完善官方文档

* feat: 优化瓦片金字塔的计算 (#1355)

* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* feat: opmitize tile cal

* style: lint style

* chore: update api name

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* fix: 修复更新图层属性 bug (#1356)

* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* chore: add fix demo

* fix: 修复样式更新的状态问题

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* chore: update version 2.9.27 -> 2.9.28 (#1357)

* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* chore: update version 2.9.27 -> 2.9.28

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* fix: 修复 layer model 更新时候存在闪烁的问题 (#1358)

* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* fix: 优化 layer model 的更新链路,避免闪烁

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* chore: update version 2.9.28 -> 2.9.29 (#1360)

* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* docs: change website url

* chore: update version 2.9.28 -> 2.9.29

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* feat: add l7-three father umd build config (#1361)

* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* feat: add l7-three father/umd

* feat: remove depecenied lib

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* chore: update version 2.9.29 -> 2.9.30 (#1363)

* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* chore: update version 2.9.29 -> 2.9.30

* chore: add three ignorefile

* chore: update version 2.9.30 -> 2.9.31

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* fix: 瓦片事件监听失效 (#1365)

* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* fix: 修复瓦片图层事件失效

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* docs: 完善 L7 组件文档和示例

* feat: 合并代码

* feat: 合并代码

* fix: 修复代码合并丢失代码

* fix: 修改 gcoord 的依赖类型

* fix: 修复 fillShade 文件名称大小写问题

* fix: 修复拾取高亮状态异常 (#1368)

* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* fix: 修复拾取高亮状态异常

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* fix: font 加载逻辑,添加font 加载完成事件 (#1364)

* fix: 文件名大小写

* fix: font load 逻辑

* fix: font 加载问题

* chore: update version 2.9.31 -> 2.9.32 (#1373)

* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* chore: update version 2.9.31 -> 2.9.32

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* fix: 修复 setData 引发的高德2 图层抖动问题 (#1376)

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* Fix: css 打包方式内联 (#1375)

* fix: 文件名大小写

* fix: font load 逻辑

* fix: font 加载问题

* fix: lint error

* fix: css lib 打包配置

* docs: 补充 L7 Component 文档相关

* fix: 修复当前 lerna 打包顺序导致报错的问题

* fix: 修复 source 模块 parser 为 Json geometry 情况数据拾取问题 (#1378)

* chore: publish alpha version 2.9.32-alpha.2

* feat: 栅格瓦片的多波段计算 (#1367)

* fix: 修复 featureScale 错误

* style: lint style

* fix: remove featureScalePlugin async

* feat: 增加多波段瓦片的 operation 操作

* style: lint style

* feat: 增加波段指定逻辑

* style: lint style

* feat: 优化多波段的请求操作路径代码

* style: lint style

* feat: multi raster layer support express operation 1.0

* style: lint style

* feat: 增加栅格图层的多波段分析能力

* chore: add raster layer demo

* style: lint style

* style: lint style

* style: lint style

* style: lint style

* style: lint style

* feat: 补充栅格数据表达式计算

* chore: 调整栅格计算方法的位置

* chore: 优化栅格计算代码结构

* chore: 优化数据栅格代码

* style: lint style

* style: lint style

* style: lint style

* feat: band operation handle empty data

* feat: 支持彩色多通道栅格

* feat: 数据栅格瓦片支持彩色多通道波段计算

* style: lint style

* style: lint style

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* fix: 解决 turf 依赖问题

* feat: 升级版本号

* feat: 升级版本号

* chore: update version 2.9.32 -> 2.9.33 (#1379)

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* feat: 修复 IControlOption 报错问题

* fix: css lib (#1381)

* chore: 更新版本 2.9.34 (#1383)

Co-authored-by: 象数 <zhengxue.lzx@antgroup.com>

* fix: 优化多图层 setData 效果不同步的现象 (#1384)

* fix: 优化多图层 setData 效果不同步的现象

* style: lint style

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* feat: 新增矢量瓦片类型 - 掩模图层 (#1382)

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* chore: update version 2.9.34 -> 2.9.35 (#1385)

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* fix: 修复设置地图中心点引发的问题 (#1386)

* fix: 修复设置地图中心点引发的问题

* style: lint style

* feat: 补充空值时图层绘制采用默认地图中心点

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* chore: update version 2.9.35 -> 2.9.36 (#1387)

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>

* feat: 去除 Control 中 abstract 的描述

Co-authored-by: yanxiong <oujinhui.ojh@antgroup.com>
Co-authored-by: @thinkinggis <lzx199065@gmail.com>
Co-authored-by: YiQianYao <42212176+yiiiiiiqianyao@users.noreply.github.com>
Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
Co-authored-by: qxang <qxkang@126.com>
Co-authored-by: Dreammy23 <caomengyuan2015@163.com>
Co-authored-by: Dreammy23 <echo.cmy@antgroup.com>
Co-authored-by: lvisei <yunji.me@outlook.com>
Co-authored-by: MarkLei7 <33211377+MarkLei7@users.noreply.github.com>
Co-authored-by: Jeffrey <color.dove@gmail.com>
Co-authored-by: bolry <909559682@qq.com>
Co-authored-by: linlb <linlb@homeking365.com>
Co-authored-by: 象数 <zhengxue.lzx@antgroup.com>

* feat: 去除 selectBoxClassName 属性

* feat: 将 Control Option 接口定义放到 @antv/l7-component 中

* fix: 将 l7-scene 中的 turf 方法转移到 l7-utils 中

* fix: 添加对 BoxSelect 选择归宿子包的 TODO

* feat: 替换 Control Iconfont 图标

* feat: 组件中涉及到的图标支持传输 Fragment 类型

* feat: 组件层 Control 更新配置时需要传入默认配置

Co-authored-by: yanxiong <oujinhui.ojh@antgroup.com>
Co-authored-by: @thinkinggis <lzx199065@gmail.com>
Co-authored-by: YiQianYao <42212176+yiiiiiiqianyao@users.noreply.github.com>
Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
Co-authored-by: qxang <qxkang@126.com>
Co-authored-by: Dreammy23 <caomengyuan2015@163.com>
Co-authored-by: Dreammy23 <echo.cmy@antgroup.com>
Co-authored-by: lvisei <yunji.me@outlook.com>
Co-authored-by: MarkLei7 <33211377+MarkLei7@users.noreply.github.com>
Co-authored-by: Jeffrey <color.dove@gmail.com>
Co-authored-by: bolry <909559682@qq.com>
Co-authored-by: linlb <linlb@homeking365.com>
Co-authored-by: 象数 <zhengxue.lzx@antgroup.com>
2022-10-17 17:01:52 +08:00
.github chore: 增加覆盖率Ci (#1323) 2022-09-02 23:08:45 +08:00
.storybook feat: export BaseModel to support CustomLayer (#1274) 2022-08-08 16:32:50 +08:00
.vscode feat: 样式数据映射 1.0 2021-06-21 11:13:18 +08:00
build feat: 渲染流程异步改造、部分支持 worker (#1224) 2022-08-02 19:05:27 +08:00
dev-demos Feat: L7 Component 完备性升级 (#1391) 2022-10-17 17:01:52 +08:00
dev-docs fix:修复事件名丢失 (#1393) 2022-10-14 15:47:45 +08:00
jest test: 测试用例支持 new scene 对象 (#1291) 2022-08-18 10:19:12 +08:00
packages Feat: L7 Component 完备性升级 (#1391) 2022-10-17 17:01:52 +08:00
scripts ci: 新增 release label action (#1097) 2022-05-06 20:17:51 +08:00
stories fix:修复事件名丢失 (#1393) 2022-10-14 15:47:45 +08:00
.editorconfig refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
.eslintignore Chore: 修复部分lint 警告,pre-commit 移除build命令 (#1285) 2022-08-11 14:04:56 +08:00
.eslintrc.js Feat: L7 Component 完备性升级 (#1391) 2022-10-17 17:01:52 +08:00
.fatherrc.ts build: worker 内联打包添补 (#1338) 2022-09-15 10:18:25 +08:00
.gitignore chore: 增加覆盖率Ci (#1323) 2022-09-02 23:08:45 +08:00
.gitleaks.toml chore: add gitleaks 2020-04-21 11:28:10 +08:00
.prettierrc refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
.stylelintrc refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
.travis.yml Merge branch 'master' into draw_doc 2020-04-21 15:27:03 +08:00
.umirc.ts build: worker 内联打包添补 (#1338) 2022-09-15 10:18:25 +08:00
.yarnrc chore: add .yarnrc 2019-11-22 20:18:33 +08:00
CHANGELOG.md chore: publish 2020-04-10 19:43:19 +08:00
LICENSE.md chore: update version 2.9.8 -> 2.9.9 (#1214) 2022-07-01 13:02:15 +08:00
README.en-US.md fix: 1. L7Draw 对应 Github 和 文档地址变更 (#1215) 2022-07-01 14:34:21 +08:00
README.md fix: 1. L7Draw 对应 Github 和 文档地址变更 (#1215) 2022-07-01 14:34:21 +08:00
babel.config.js chore: replace storybook with dumi (#1256) 2022-08-08 16:41:30 +08:00
commitlint.config.js docs(layer): add layer docs 2019-11-20 20:44:08 +08:00
jest.config.js Feat: L7 Component 完备性升级 (#1391) 2022-10-17 17:01:52 +08:00
lerna.json chore: update version 2.9.36 -> 2.9.37 (#1397) 2022-10-14 16:39:55 +08:00
package.json Feat: L7 Component 完备性升级 (#1391) 2022-10-17 17:01:52 +08:00
tsconfig.build.json chore: replace storybook with dumi (#1256) 2022-08-08 16:41:30 +08:00
tsconfig.json Feat custom map (#1326) 2022-09-13 11:25:25 +08:00
tslint.json Feat: L7 Component 完备性升级 (#1391) 2022-10-17 17:01:52 +08:00
tslint.prod.json chore: 增加覆盖率Ci (#1323) 2022-09-02 23:08:45 +08:00
typings.d.ts test: 测试用例支持 new scene 对象 (#1291) 2022-08-18 10:19:12 +08:00

README.en-US.md

L7

. travis ci 最近提交

Large-scale WebGL-powered Geospatial data visualization analysis framework.

中文 README

GitHub

Powered by WebGL, the rendering technology of L7 supports fast and efficient rendering of big data, 2D/3D rendering, possible through calculation and analysis of spatial data by GPU Parallel Compu-ting.

L7 focuses on geographic data expressivenessinteraction and design of geographic visualization layers. The basemaps on the platform are powered by third-party services

website

🌄 L7 visualization demos

L7 demo

🌟 Highlight features of L7 2.0

  • 🌏 Data-driven Visualization

    Layer visualization API design base Semiology of Graphics.

    It supports rich map visualization types for a better insight on data.

  • 🌏 High performance rendering with 2D/3D effect Real-time and dynamic rendering with millions of spatial data.

  • 🌏 Simple and flexible data format

    L7 supports a wide variety of data formats including CSV, JSON, geojson, among others, eliminating the need to run conversions ahead of time.

  • 🌏 Multi-basemap

    For global users, Mapbox is easy to be embedded by a simple line of code.

Getting Started

📦 Installation

npm install @antv/l7

Init Map by L7 scene

import { Scene } from '@antv/l7';
import { Mapbox } from '@antv/l7-maps';

const scene = new Scene({
  id: 'map',
  map: new Mapbox({
    style: 'light',
    pitch: 0,
    center: [107.054293, 35.246265],
    zoom: 4.056,
  }),
});

Add Layer

import { PointLayer } from '@antv/l7';

const pointLayer = new PointLayer()
  .source(data)
  .shape('circle')
  .size('mag', [1, 25])
  .color('mag', ['#5B8FF9', '#5CCEA1'])
  .style({
    opacity: 0.3,
    strokeWidth: 1,
  });

scene.addLayer(pointLayer);

📝 Documentation

License

MIT license.