UNPKG

svelte-maplibre-gl

Version:

Build interactive web maps effortlessly with MapLibre GL JS and Svelte

11 lines (10 loc) 394 B
import type { Snippet } from 'svelte'; import maplibregl from 'maplibre-gl'; interface Props extends Omit<maplibregl.CanvasSourceSpecification, 'type'> { id?: string; source?: maplibregl.CanvasSource; children?: Snippet; } declare const CanvasSource: import("svelte").Component<Props, {}, "source">; type CanvasSource = ReturnType<typeof CanvasSource>; export default CanvasSource;