UNPKG

svelte-maplibre-gl

Version:

Build interactive web maps effortlessly with MapLibre GL JS and Svelte

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