On this page
Properties

Type Alias FullscreenControlOptions

The FullscreenControl options object

type FullscreenControlOptions = {
    container?: HTMLElement;
    pseudo?: boolean;
}
Index

Properties

Properties

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?: 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.

false
Was this helpful?
SDK JS
Reference
FullscreenControlOptions