leaflet-polydraw
Version:
Advanced polygon drawing and editing plugin for Leaflet with drag-and-drop, smart merging, and comprehensive editing tools
21 lines • 774 B
TypeScript
/**
* CoordinateUtils - Handles coordinate conversions and transformations
* This is a small, focused module for coordinate-related operations
*/
import * as L from 'leaflet';
import type { TurfHelper } from './turf-helper';
export declare class CoordinateUtils {
/**
* Convert coordinate arrays to proper format for polygon creation
*/
static convertToCoords(latlngs: L.LatLngLiteral[][], turfHelper: TurfHelper): any[];
/**
* Apply offset to polygon coordinates
*/
static offsetPolygonCoordinates(latLngs: any, offsetLat: number, offsetLng: number): any;
/**
* Get latitude/longitude information string
*/
static getLatLngInfoString(latlng: L.LatLngLiteral): string;
}
//# sourceMappingURL=coordinate-utils.d.ts.map