antv-l7/packages/layers
YiQianYao 7c4a733e9e
chore: update version 2.9.23 -> 2.9.24 (#1296)
Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
2022-08-18 19:52:39 +08:00
..
src feat: 提供线图层偏移点位计算的通用方法 (#1293) 2022-08-18 16:04:21 +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: update version 2.9.23 -> 2.9.24 (#1296) 2022-08-18 19:52:39 +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