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