UNPKG

svelte-maplibre-gl

Version:

Build interactive web maps effortlessly with MapLibre GL JS and Svelte

14 lines (13 loc) 570 B
import type { Snippet } from 'svelte'; import maplibregl from 'maplibre-gl'; import type { MapLayerEventProps } from './common.js'; interface Props extends Omit<maplibregl.RasterLayerSpecification, 'id' | 'source' | 'type' | 'source-layer'>, MapLayerEventProps { id?: string; source?: string; sourceLayer?: maplibregl.RasterLayerSpecification['source-layer']; beforeId?: string; children?: Snippet; } declare const RasterLayer: import("svelte").Component<Props, {}, "">; type RasterLayer = ReturnType<typeof RasterLayer>; export default RasterLayer;