Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Argument Default Description classNamestring <optional>
'ol-zoom-extent' Class name.
targetHTMLElement | string <optional>
Specify a target if you want the control to be rendered outside of the map's viewport.
labelstring | HTMLElement <optional>
'E' Text label to use for the button. Instead of text, also an element (e.g. a
spanelement) can be used.tipLabelstring <optional>
'Fit to extent' Text label to use for the button tip.
extentmodule:ol/extent~Extent <optional>
The extent to zoom to. If undefined the validity extent of the view projection is used.
OpenLayers