UNPKG

svelte-maplibre-gl

Version:

Build interactive web maps effortlessly with MapLibre GL JS and Svelte

13 lines (12 loc) 627 B
import * as maplibregl from 'maplibre-gl'; import type { Listener, Event } from '../types.js'; interface Props extends maplibregl.FullscreenControlOptions { position?: maplibregl.ControlPosition; /** Forces CSS-based pseudo fullscreen mode. Requires maplibre-gl 5.18.0 or later. */ pseudo?: boolean; onfullscreenstart?: Listener<Event<maplibregl.FullscreenControl>>; onfullscreenend?: Listener<Event<maplibregl.FullscreenControl>>; } declare const FullScreenControl: import("svelte").Component<Props, {}, "">; type FullScreenControl = ReturnType<typeof FullScreenControl>; export default FullScreenControl;