PMA.UI Documentation by Pathomation

PrevZoom

PMA.UI.View.Controls PrevZoom

Displays an interface that allows the user to return to previous zoom

Constructor

new PrevZoom(opt_options)

Source:
Parameters:
Name Type Description
opt_options object Options to initialize the previous zoom control
Properties
Name Type Attributes Description
tipLabel string <optional>
Label for previous zoom button
dragZoom ol.interaction.DragZoom The dragzoom interaction of this map

Methods

setMap(map)

Source:
Sets the OpenLayers map this control handles. This is automatically called by OpenLayers
Parameters:
Name Type Description
map ol.Map