Skip to main content

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

JavaScript
ContensisClient.entries.get('<entry_id>').then(function (entry) {
    console.log(entry.myLocation.lat);
    console.log(entry.myLocation.lon);
});

Still need help?

If you still need help after reading this article, don't hesitate to reach out to the Contensis community on Slack or raise a support ticket to get help from our team.
New support request