Templating the Geopoint field

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


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

const location = document.data.location

const lat = location.latitude  // latitude
const long = location.longitude // longitude