svelte-maplibre-gl
Version:
Build interactive web maps effortlessly with MapLibre GL JS and Svelte
11 lines (10 loc) • 384 B
TypeScript
import { type Snippet } from 'svelte';
import maplibregl from 'maplibre-gl';
interface Props extends Omit<maplibregl.FeatureIdentifier, 'source'> {
source?: string;
state: Record<string, unknown>;
children?: Snippet;
}
declare const FeatureState: import("svelte").Component<Props, {}, "">;
type FeatureState = ReturnType<typeof FeatureState>;
export default FeatureState;