0.4.1 • Published 2 months ago

@open-pioneer/map-navigation v0.4.1

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

@open-pioneer/map-navigation

This package provides a collection of the following map navigation controls:

  • Initial extent: A button that allows the user to reset the map to the initial view.
  • Zoom: Two buttons that allow the user to zoom in and zoom out of the map.

Usage

Initial extent

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

<InitialExtent mapId="map_id" />

Zoom

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

<ZoomIn mapId="map_id" />
<ZoomOut mapId="map_id" />

You can also use the generic Zoom component:

<Zoom mapId="map_id" zoomDirection="in" />

License

Apache-2.0 (see LICENSE file)

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