Zoom Btn Plugin
Dictionary entries:
- toolbar_zoom_in
- toolbar_zoom_out
- Source
Requires
Methods
(inner) zoomBtn(plugin, mapview)
Adds zoom in and zoom out buttons to the mapview.
Parameters:
Properties| Name | Type | Description |
|---|---|---|
plugin | Object | The plugin configuration object. |
mapview | Object | The mapview object. |
| Name | Type | Description |
|---|---|---|
mapview.Map | ol. | The OpenLayers map object. |
mapview.locale | Object | The locale object of the mapview. |
locale.maxZoom | number | The maximum zoom level allowed. |
locale.minZoom | number | The minimum zoom level allowed. |
- Source