hmpps-open-layers-map
Version:
A native Web Component for displaying maps using OpenLayers or MapLibre.
10 lines (9 loc) • 330 B
TypeScript
import maplibregl from 'maplibre-gl';
export interface MapLibreMapOptions extends Omit<maplibregl.MapOptions, 'container' | 'style'> {
target: HTMLElement;
styleUrl: string;
enable3DControls?: boolean;
}
export declare class MapLibreMapInstance extends maplibregl.Map {
constructor(options: MapLibreMapOptions);
}