antv-l7/packages/layers
lvisei c5b3e22677
feat: 新增 RasterTileLayer 栅格瓦片图层 (#1092)
* chore: update version 2.8.30 -> 2.8.31

* feat: 新增 rasterTile parser

* style: lint style

* style: lint style

* refactor: 修改参数类型

* feat: 新增瓦片数据管理方法/新增栅格瓦片图

* feat: 矢量瓦片图层

* feat: 新增 RasterTileLayer 栅格瓦片图层

* docs: examples

* chore: tileset destroy

* chore: update strategy

* fix: 修复瓦片注销

* refactor: 修改瓦片更新部分代码

* style: lint style

* feat: 完善 LayerGroup 的类型定义

* refactor: 重构 rasterTIleLayer,迁移到 rasterLayer,清除多余部分

* style: lint style

* docs: 官网 tile demo 修改

* feat: rasterLayer tle support styles

* feat: raster tile layer support styles

* style: lint style

Co-authored-by: 2912401452 <2912401452@qq.com>
Co-authored-by: YiQianYao <42212176+2912401452@users.noreply.github.com>
2022-05-09 15:10:12 +08:00
..
src feat: 新增 RasterTileLayer 栅格瓦片图层 (#1092) 2022-05-09 15:10:12 +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: update version 2.8.34 -> 2.8.35 (#1094) 2022-05-05 10:49:41 +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