UNPKG

svelte-maplibre-gl

Version:

Build interactive web maps effortlessly with MapLibre GL JS and Svelte

14 lines (13 loc) 444 B
import maplibregl from 'maplibre-gl'; interface Props { id: string; image: HTMLImageElement | ImageBitmap | ImageData | { width: number; height: number; data: Uint8Array | Uint8ClampedArray; } | maplibregl.StyleImageInterface; options?: Partial<maplibregl.StyleImageMetadata>; } declare const Image: import("svelte").Component<Props, {}, "">; type Image = ReturnType<typeof Image>; export default Image;