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