Zoom Btn Plugin
- Source
Methods
(inner) zoomBtn(plugin, mapview)
Adds zoom in and zoom out buttons to the mapview.
Parameters:
PropertiesName | 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