UNPKG

svelte-maplibre-gl

Version:

Build interactive web maps effortlessly with MapLibre GL JS and Svelte

12 lines (11 loc) 481 B
import { type Snippet } from 'svelte'; import maplibregl from 'maplibre-gl'; interface Props extends maplibregl.QuerySourceFeatureOptions { map?: maplibregl.Map; source?: string; features?: maplibregl.MapGeoJSONFeature[]; children?: Snippet<[maplibregl.MapGeoJSONFeature]>; } declare const QuerySourceFeatures: import("svelte").Component<Props, {}, "features">; type QuerySourceFeatures = ReturnType<typeof QuerySourceFeatures>; export default QuerySourceFeatures;