antv-l7/packages/layers
thinkinggis ea3e6ca5d5 fix(master): merge master branch fix conflict 2019-11-25 17:29:48 +08:00
..
src fix(master): merge master branch fix conflict 2019-11-25 17:29:48 +08:00
.gitignore fix(doc): file name lowercase 2019-11-22 18:08:49 +08:00
README.md 完善构建方案 & 容器 Bug 修复 (#84) 2019-11-25 15:27:56 +08:00
package.json 完善构建方案 & 容器 Bug 修复 (#84) 2019-11-25 15:27:56 +08:00
tsconfig.build.json fix(doc): file name lowercase 2019-11-22 18:08:49 +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