svelte-maplibre-gl
Version:
Build interactive web maps effortlessly with MapLibre GL JS and Svelte
11 lines (10 loc) • 414 B
TypeScript
import type { Snippet } from 'svelte';
import maplibregl from 'maplibre-gl';
interface Props extends Omit<maplibregl.VectorSourceSpecification, 'type'> {
id?: string;
source?: maplibregl.VectorTileSource;
children?: Snippet;
}
declare const VectorTileSource: import("svelte").Component<Props, {}, "source">;
type VectorTileSource = ReturnType<typeof VectorTileSource>;
export default VectorTileSource;