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
Was this article helpful?
Can't find what you're looking for? Get in touch with us on our Community Forum.