antv-l7/packages/layers
thinkinggis 3114ab55a5 feat: polygon 支持text 2019-12-30 18:10:21 +08:00
..
src feat: polygon 支持text 2019-12-30 18:10:21 +08:00
.gitignore fix(doc): file name lowercase 2019-11-22 18:08:49 +08:00
CHANGELOG.md Merge pull request #134 from antvis/animate 2019-12-27 12:12:42 +08:00
README.md 完善构建方案 & 容器 Bug 修复 (#84) 2019-11-25 15:27:56 +08:00
package.json chore: update package.json 2019-12-29 13:08:35 +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