@watergis/maplibre-gl-export
Version:
This module adds control which can export PDF and images.
20 lines • 556 B
TypeScript
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