FullscreenControlOptions
FullscreenControlOptions =
object
The FullscreenControl options object
Properties
container?
optionalcontainer?:HTMLElement
container is the compatible DOM element which should be made full screen. By default, the map container element will be made full screen.
pseudo?
optionalpseudo?:boolean
If true, the fullscreen control will always use pseudo fullscreen mode (CSS-based, expanding to browser viewport) instead of native fullscreen API. This can be useful for faster transitions and to allow multiple maps to be "fullscreen" simultaneously in different browser windows.
Default Value
false
© MapLibre contributors
Licensed under the 3-Clause BSD License.
https://maplibre.org/maplibre-gl-js/docs/API/type-aliases/FullscreenControlOptions/