UNPKG

svelte-maplibre-gl

Version:

Build interactive web maps effortlessly with MapLibre GL JS and Svelte

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