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 = document.data.location

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