@react-gis/openlayerscontrol

full-screen-control

Functions

FullScreenControl()

function FullScreenControl(props: FullScreenControlProps): null;

Defined in: packages/openlayers/src/control/full-screen-control.tsx:11

Parameters

ParameterType
propsFullScreenControlProps

Returns

null

Interfaces

FullScreenControlProps

Defined in: packages/openlayers/src/control/full-screen-control.tsx:9

Extends

Properties

PropertyTypeDescriptionInherited from
activeClassName?stringCSS class name for the button when full-screen is active.ControlOptions.activeClassName
className?stringCSS class name.ControlOptions.className
element?HTMLElementThe element is the control's container element. This only needs to be specified if you're developing a custom control.ControlOptions.element
inactiveClassName?stringCSS class name for the button when full-screen is inactive.ControlOptions.inactiveClassName
keys?booleanFull keyboard access.ControlOptions.keys
label?string | HTMLElement | TextText label to use for the button. Instead of text, also an element (e.g. a span element) can be used.ControlOptions.label
labelActive?string | HTMLElement | TextText 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.ControlOptions.labelActive
render?(arg0: MapEvent) => voidFunction called when the control should be re-rendered. This is called in a requestAnimationFrame callback.ControlOptions.render
source?string | HTMLElementThe element to be displayed fullscreen. When not provided, the element containing the map viewport will be displayed fullscreen.ControlOptions.source
target?string | HTMLElementSpecify a target if you want the control to be rendered outside of the map's viewport.ControlOptions.target
tipLabel?stringText label to use for the button tip.ControlOptions.tipLabel