UNPKG

svelte-maplibre-gl

Version:

Build interactive web maps effortlessly with MapLibre GL JS and Svelte

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