0.1.6 • Published 11 months ago

@open-pioneer/experimental-ol-layer-control v0.1.6

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
11 months ago

@open-pioneer/experimental-ol-layer-control

This package provides a layer-control component based on open layers, which can be integrated besides a map to handle some functionality (toggling, opacity, ...) for the configured layers.

Usage

Map container component

Simply place the layer control component somewhere in your react template and add at least the mapId property, so that the layer control gets the corresponding map.

See here a simple integration of a layer control with a map id and visible opacity slider:

<LayerControlComponent mapId="map_id" showOpacitySlider={true} />

For more configuration of the layer control check ./LayerControlComponent.tsx.

License

Apache-2.0

0.1.6

11 months ago

0.1.5

11 months ago

0.1.4

12 months ago

0.1.3

12 months ago

0.1.2

12 months ago

0.1.1

12 months ago

0.1.0

12 months ago