Skip to content

MglFullscreenControl ​

Render Fullscreen Control

See FullscreenControl

typescript
import { MglFullscreenControl } from '@indoorequal/vue-maplibre-gl';

Props ​

position ​

  • Type: ControlPosition
  • Required: false
  • Default: undefined

Position on the map to which the control will be added. Valid values are 'top-left', 'top-right', 'bottom-left', and 'bottom-right'. Defaults to 'top-right'.

container ​

  • Type: HTMLElement
  • Required: false
  • Default: null

container is the compatible DOM element which should be made full screen. By default, the map container element will be made full screen.

Source ​

See source.

Released under the MIT License.