antv-l7/packages/layers
@thinkinggis cfb105a2aa
Chore: lint warn 移除未使用的import (#1287)
* chore: lint unuse

* chore: pre commit command

* chore: pre-commit 去除build 命令

* fix: 修复unuse import
2022-08-16 10:37:55 +08:00
..
src Chore: lint warn 移除未使用的import (#1287) 2022-08-16 10:37:55 +08:00
.fatherrc.ts chore: replace storybook with dumi (#1256) 2022-08-08 16:41:30 +08:00
.gitignore fix(layer): point layer图片纹理浮点数据精度问题 2020-08-11 08:39:35 +08:00
CHANGELOG.md fix(layer): point layer图片纹理浮点数据精度问题 2020-08-11 08:39:35 +08:00
README.md fix(layer): point layer图片纹理浮点数据精度问题 2020-08-11 08:39:35 +08:00
package.json chore: 修改 tslint 依赖配置 (#1277) 2022-08-09 16:05:40 +08:00
tsconfig.build.json fix(layer): point layer图片纹理浮点数据精度问题 2020-08-11 08:39:35 +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