2.3.11 • Published 3 years ago

@jhgrrewq/l7-layers v2.3.11

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

L7's Collection of Layers

Installation

yarn add @jhgrrewq/l7-layers

Getting Started

Use built-in layers directly:

import { PointLayer } from '@jhgrrewq/l7-layers';

const layer = new PointLayer({
  // ...initialization options
});

Create a custom layer with the help of BaseLayer:

import { BaseLayer } from '@jhgrrewq/l7-layers';

class MyCustomLayer extends BaseLayer {
  // ...override methods
}

const layer = new MyCustomLayer({
  // ...initialization options
});

Current Built-in Layers

  • PointLayer
  • PolygonLayer
  • LineLayer
  • HeatmapLayer
  • RasterLayer