GeoPoint Templating with Javascript

The GeoPoint field is used for Geolocation coordinates. It works by adding coordinates or by pasting a Google Maps URL.

Usage

Here is an example of how to retrieve the coordinates for a GeoPoint field.

Copy
const location = content.data.location

location.latitude  // latitude
location.longitude // longitude