UNPKG

svelte-maplibre-gl

Version:

Build interactive web maps effortlessly with MapLibre GL JS and Svelte

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