@antv/l7-layers
v2.22.3
Published
L7's collection of built-in layers
Downloads
139,697
Maintainers
Keywords
Readme
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