svelte-maplibre-gl
Version:
Build interactive web maps effortlessly with MapLibre GL JS and Svelte
11 lines (10 loc) • 510 B
TypeScript
import maplibregl from 'maplibre-gl';
import type { Listener, Event } from '../types.js';
interface Props extends maplibregl.FullscreenControlOptions {
position?: maplibregl.ControlPosition;
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;