mirror of https://gitee.com/antv-l7/antv-l7
44d31b8fbc
* chore: publish * chore: update version 2.13.0 -> 2.13.1 fix bug Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com> |
||
---|---|---|
.. | ||
src | ||
.fatherrc.ts | ||
.gitignore | ||
CHANGELOG.md | ||
README.md | ||
package.json | ||
tsconfig.build.json |
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