UNPKG

svelte-maplibre-gl

Version:

Build interactive web maps effortlessly with MapLibre GL JS and Svelte

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