export default class CoordinatesUtils { /** * @Function - recursively convert GeoJSON feature coordinates to desired projection * @param coordinates {Array[]|number[]} - coordinates to translate * @param convertFn {Function} - conversion method to use on coordinates * * @return {number[]|Array[]} - translated coordinates * */ static convertCoordinates: (coordinates: any, convertFn: any) => any; /** * @Function - convert given WGS:84 coordinates to L-EST 97 projection * @param coordinates {number[]|Array[]} - feature coordinates in WGS:84 projection * * @return {number[]|Array[]} - feature coordinates in L-EST 97 projection * */ static convertCoordinatesToLEST97: (coordinates: any) => any; static isWGS84coordinates: (array?: never[]) => any; private static EPSG3301; /** * @Function - converts lat/lng coordinates to XY coordinate system * @param coords {number[]} - latlng coordinates * @param fromProj {string} - projection definition of the given coordinates * @param toProj {string} - projection definition into which to translate the given coordinates * * @return {number[]} - converted coordinates * */ private static convert; }