0.9.0-dev.20250220091855 • Published 9 months ago
@open-pioneer/scale-setter v0.9.0-dev.20250220091855
@open-pioneer/scale-setter
This package provides a UI component to change the scale of the map.
Usage
To integrate the scale-setter into your app, insert the following snippet (and reference a map):
<ScaleSetter
map={map}
/> /* instead of passing the map, the `DefaultMapProvider` can alternatively be used */To configure custom scales, provide the optional scales prop (a number[]) to the component.
By default, scale options are taken from the standard levels by AdV.
<ScaleSetter
map={map}
scales={[
336, 671, 1343, 2685, 5371, 10741, 21478, 42941, 85819, 171384, 341757, 679450, 1342389,
2651369
]}
/>License
Apache-2.0 (see LICENSE file)
0.10.1-dev-chakra-v3.20250512110627
7 months ago
0.9.0-dev.20250220091855
9 months ago
0.10.0
7 months ago
0.9.0-dev.20250217152428
9 months ago
0.10.0-dev.20250324141112
8 months ago
0.0.0-dev-20241120114910
1 year ago
0.9.0-dev.20250224083536
9 months ago
0.11.0-dev.20250515143825
7 months ago
0.11.0
6 months ago
0.9.0
9 months ago
0.8.0
12 months ago
0.8.0-dev.20241120115147
1 year ago
0.7.0
1 year ago
0.1.1
1 year ago
0.1.0
1 year ago