UNPKG

svelte-maplibre-gl

Version:

Build interactive web maps effortlessly with MapLibre GL JS and Svelte

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