UNPKG

svelte-maplibre-gl

Version:

Build interactive web maps effortlessly with MapLibre GL JS and Svelte

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