0.4.1 • Published 2 months ago

@open-pioneer/scale-bar v0.4.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 months ago

@open-pioneer/scale-bar

This package provides a UI component to show the scale as a line or bar to the user.

Usage

To integrate the scale as a line in your app, insert the following snippet and reference a map ID:

<ScaleBar mapId="map_id" />

Setting property displayMode to bar, the scale will be integrated as a bar. By default, or by setting the property to line, the scale will be displayed as a line.

<ScaleBar mapId="map_id" displayMode="bar" />

License

Apache-2.0

0.4.1

2 months ago

0.4.0

2 months ago

0.3.1

3 months ago

0.3.0

4 months ago

0.2.0

5 months ago

0.1.1

5 months ago

0.1.0

6 months ago