latlon
A latlon
represents a geographical location on Earth in the WGS 84 coordinate system.
A latlon
is a JSON string of the format:
"lat, lon"
"lat,lon"
where
lat
- WGS 84 latitude, a floating point number in the range [-90, 90].lon
- WGS 84 longitude, a floating point number in the range [-180, 180].
For reasonable precision, both numbers should be given to six decimal places.
Example
{
"Los Angeles, USA": "34.050908,-118.319753",
"Auckland, NZ": "-36.862391, 174.769333"
}
See Also
- The marker class.
- The job.location field.
- The route.location, route.start_location, and route.end_location fields.
- The Geocode and Reverse Geocode endpoints.