0.11.0 • Published 6 months ago

@open-pioneer/scale-bar v0.11.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
6 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):

<ScaleBar
    map={map}
/> /* instead of passing the map, the `DefaultMapProvider` can alternatively be used */

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 map={map} displayMode="bar" />

License

Apache-2.0 (see LICENSE file)

0.11.0

6 months ago

0.10.0

7 months ago

0.9.0

9 months ago

0.8.0

12 months ago

0.7.0

1 year ago

0.4.4

1 year ago

0.4.3

1 year ago

0.4.2

1 year ago

0.4.1

2 years ago

0.4.0

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago