antv-l7/packages/layers
@thinkinggis b28e38c760
chore: replace storybook with dumi (#1256)
* chore: 添加dumi 配置

* chore: 添加dumi 配置

* chore: 更新build 命令

* chore: add lib test

* chore: 重构site 文档

* chore: script

* chore: 测试用例

* chore: 测试用例

* chore: tsc 设置

* chore: site command

* fix: tslint error

* chore: react 版本依赖

* chore: tsconfig

* chore: rm doc-dist

* fix: 版本统一

* chore: 更新 gl 版本依赖

Co-authored-by: YiQianYao <42212176+2912401452@users.noreply.github.com>
2022-08-08 16:41:30 +08:00
..
src chore: replace storybook with dumi (#1256) 2022-08-08 16:41:30 +08:00
.fatherrc.ts chore: replace storybook with dumi (#1256) 2022-08-08 16:41:30 +08:00
.gitignore fix(layer): point layer图片纹理浮点数据精度问题 2020-08-11 08:39:35 +08:00
CHANGELOG.md fix(layer): point layer图片纹理浮点数据精度问题 2020-08-11 08:39:35 +08:00
README.md fix(layer): point layer图片纹理浮点数据精度问题 2020-08-11 08:39:35 +08:00
package.json chore: replace storybook with dumi (#1256) 2022-08-08 16:41:30 +08:00
tsconfig.build.json fix(layer): point layer图片纹理浮点数据精度问题 2020-08-11 08:39:35 +08:00

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