Module: ol/control/FullScreen
This documentation is for OpenLayers v
5.3.2. The
latest is v
.
Classes
- FullScreen
Type Definitions
-
-
Properties:
Name |
Type |
Argument |
Default |
Description |
className
|
string
|
<optional>
|
'ol-full-screen'
|
CSS class name. |
label
|
string
|
Text
|
<optional>
|
'\u2922'
|
Text label to use for the button.
Instead of text, also an element (e.g. a span element) can be used. |
labelActive
|
string
|
Text
|
<optional>
|
'\u00d7'
|
Text label to use for the
button when full-screen is active.
Instead of text, also an element (e.g. a span element) can be used. |
tipLabel
|
string
|
<optional>
|
'Toggle full-screen'
|
Text label to use for the button tip. |
keys
|
boolean
|
<optional>
|
false
|
Full keyboard access. |
target
|
HTMLElement
|
string
|
<optional>
|
|
Specify a target if you want the
control to be rendered outside of the map's viewport. |
source
|
HTMLElement
|
string
|
<optional>
|
|
The element to be displayed
fullscreen. When not provided, the element containing the map viewport will
be displayed fullscreen. |