antv-l7/packages/layers
@thinkinggis cdfca2f8e7
Merge pull request #419 from antvis/district_attach
chore(layer): regl 对象销毁问题,数据频繁更新减少内存占用
2020-07-04 14:22:45 +08:00
..
src Merge pull request #419 from antvis/district_attach 2020-07-04 14:22:45 +08:00
.gitignore fix(doc): file name lowercase 2019-11-22 18:08:49 +08:00
CHANGELOG.md chore: publish 2020-04-10 15:37:10 +08:00
README.md 完善构建方案 & 容器 Bug 修复 (#84) 2019-11-25 15:27:56 +08:00
package.json chore: publish 2020-07-03 20:49:02 +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