UNPKG

@watergis/maplibre-gl-export

Version:
20 lines 556 B
import { type Map as MaplibreMap } from 'maplibre-gl'; import { type Map as MapboxMap } from 'mapbox-gl'; export default class CrosshairManager { private map; private width; private height; private svgCanvas; private xLine; private yLine; private color; constructor(map: MaplibreMap | MapboxMap | undefined); create(): void; private updateValues; private mapResize; private updateCanvas; private createCanvas; private createLine; destroy(): void; } //# sourceMappingURL=crosshair-manager.d.ts.map