svelte-maplibre-gl
Version:
Build interactive web maps effortlessly with MapLibre GL JS and Svelte
15 lines (14 loc) • 557 B
TypeScript
import { type Snippet } from 'svelte';
import maplibregl from 'maplibre-gl';
import type { MapLayerEventProps } from './common.js';
interface Props extends Omit<maplibregl.LayerSpecification, 'id' | 'source' | 'source-layer' | 'filter'>, MapLayerEventProps {
id?: string;
source?: string;
beforeId?: string;
filter?: maplibregl.FilterSpecification;
'source-layer'?: string;
children?: Snippet;
}
declare const RawLayer: import("svelte").Component<Props, {}, "">;
type RawLayer = ReturnType<typeof RawLayer>;
export default RawLayer;