Location
Log in to add to favouritesPage last updated 13 November 2024
The location object represents a geographical coordinate that specifies the position of a point on the Earth's surface.
Properties
Name | Type | Format | Description |
---|---|---|---|
lat | number | The north-south position. | |
lon | number | The east-west position. |
Example
const entry = await client.entries.get("<entry-id>");
console.log(entry.myLocation.lat);
console.log(entry.myLocation.lon);