$ npm install @antv/l7-layers
yarn add @antv/l7-layers
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
});
© 2010 - cnpmjs.org x YWFE | Home | YWFE