antv-l7/packages/layers
thinkinggis 650257e931 refactor(amap): rename Amap to GaodeMap 避免和高德全局对象Amap冲突 2019-11-27 14:54:53 +08:00
..
src refactor(amap): rename Amap to GaodeMap 避免和高德全局对象Amap冲突 2019-11-27 14:54:53 +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