inferGeoJSONCoordOrder()
function inferGeoJSONCoordOrder(__namedParameters): Coordinates2D
Given an input which appears to be reversed GeoJSON coordinates (i.e. [latitude, longitude]), returns the coordinates in the correct order of [longitude, latitude].
Note that this is a heuristic and is only accurate for North American coordinates.
Parameters
Parameter | Type |
---|---|
__namedParameters | [number , number ] |