Zoom Btn Plugin

Methods

(inner) zoomBtn(plugin, mapview)

Adds zoom in and zoom out buttons to the mapview.

Parameters:
NameTypeDescription
pluginObject

The plugin configuration object.

mapviewObject

The mapview object.

Properties
NameTypeDescription
mapview.Mapol.Map

The OpenLayers map object.

mapview.localeObject

The locale object of the mapview.

locale.maxZoomnumber

The maximum zoom level allowed.

locale.minZoomnumber

The minimum zoom level allowed.