svelte-maplibre-gl
Version:
Build interactive web maps effortlessly with MapLibre GL JS and Svelte
11 lines (10 loc) • 410 B
TypeScript
import type { Snippet } from 'svelte';
import type * as 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;