Class: ol.control.Zoom

ol.control.Zoom

new Zoom

Parameters:
Name Type Description
zoomOptions ol.control.ZoomOptions Zoom options.
Source:
  • zoomcontrol.js, line 24

Extends

Members

<protected> element :Element

Inherited From:
Source:
  • control.js, line 32

Methods

disposeInternal

Inherited From:
Source:
  • control.js, line 58

getMap

Inherited From:
Source:
  • control.js, line 67
Returns:
Map.
Type
ol.Map

setMap

Removes the control from its current map and attaches it to the new map. Subtypes might also wish set up event handlers to get notified about changes to the map here.
Parameters:
Name Type Description
map ol.Map Map.
Inherited From:
Source:
  • control.js, line 79