Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Argument Default Description durationnumber <optional>
250 Animation duration in milliseconds.
classNamestring <optional>
'ol-zoom' CSS class name.
zoomInLabelstring | HTMLElement <optional>
'+' Text label to use for the zoom-in button. Instead of text, also an element (e.g. a
spanelement) can be used.zoomOutLabelstring | HTMLElement <optional>
'-' Text label to use for the zoom-out button. Instead of text, also an element (e.g. a
spanelement) can be used.zoomInTipLabelstring <optional>
'Zoom in' Text label to use for the button tip.
zoomOutTipLabelstring <optional>
'Zoom out' Text label to use for the button tip.
deltanumber <optional>
1 The zoom delta applied on each click.
targetHTMLElement | string <optional>
Specify a target if you want the control to be rendered outside of the map's viewport.
OpenLayers