Spec-Zone.ru › MapLibre GL JS

FullscreenControlOptions

FullscreenControlOptions = object

The FullscreenControl options object

Properties

container?

optional container?: 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?

optional pseudo?: 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/

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API