2.8.36 • Published 2 years ago

@cgcs2000/l7-layers v2.8.36

Weekly downloads
1
License
ISC
Repository
-
Last release
2 years ago

L7's Collection of Layers

Installation

yarn add @cgcs2000/l7-layers

Getting Started

Use built-in layers directly:

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

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

Create a custom layer with the help of BaseLayer:

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

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

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

Current Built-in Layers

  • PointLayer
  • PolygonLayer
  • LineLayer
  • HeatmapLayer
  • RasterLayer