This package provides a collection of the following map navigation controls:
To integrate the component in your app, insert the following snippet (and reference a map):
<InitialExtent
map={map}
/> /* instead of passing the map, the `DefaultMapProvider` can alternatively be used */
To integrate the component in your app, insert the following snippet (and reference a map):
<ZoomIn map={map} /> /* instead of passing the map, the `DefaultMapProvider` can alternatively be used */
<ZoomOut map={map} />
You can also use the generic Zoom
component:
<Zoom map={map} zoomDirection="in" />
To integrate the component in your app, insert the following snippet and reference a view Model:
<HistoryBackward map={map} /> /* instead of passing the map, the `DefaultMapProvider` can alternatively be used */
<HistoryForward map={map} />
The history tools use a shared history of previous map states. Map states are tracked while at least one history tool is mounted into the application. If all history tools are unmounted, the history of previous map states is discarded.
Apache-2.0 (see LICENSE
file)