Skip to content

worldwind-ui API / worldwind-kit / formatLatLon

Function: formatLatLon() ​

formatLatLon(point, options?): string

Defined in: kit/src/geo.ts:117

Formats a coordinate pair, e.g. 40.7128°N, 74.0060°W or 40°42'46.1"N, 74°00'21.6"W.

Parameters ​

point ​

LatLon

options? ​

FormatLatLonOptions = {}

Returns ​

string

MIT licensed. Not affiliated with NASA; WorldWind is NASA's open-source virtual globe.