UNPKG

svelte-maplibre-gl

Version:

Build interactive web maps effortlessly with MapLibre GL JS and Svelte

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