mirror of https://gitee.com/antv-l7/antv-l7
c5b3e22677
* 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> |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
CHANGELOG.md | ||
README.md | ||
package.json | ||
tsconfig.build.json |
README.md
L7's Collection of Layers
Installation
yarn add @antv/l7-layers
Getting Started
Use built-in layers directly:
import { PointLayer } from '@antv/l7-layers';
const layer = new PointLayer({
// ...initialization options
});
Create a custom layer with the help of BaseLayer
:
import { BaseLayer } from '@antv/l7-layers';
class MyCustomLayer extends BaseLayer {
// ...override methods
}
const layer = new MyCustomLayer({
// ...initialization options
});
Current Built-in Layers
- PointLayer
- PolygonLayer
- LineLayer
- HeatmapLayer
- RasterLayer