Configure the GeoPoint Field
This article explains what the GeoPoint field is and how to configure it in the Custom Type builder.
The GeoPoint field allows you to add geolocation coordinates or a Google Maps URL.

When configuring a GeoPoint field you'll see the options to set the Field name, and API ID.

type
string (required)
Value must be GeoPoint
config
object
Object for the configuration options
config.label
string
The label that shows up for the field in the entry editor
Copy
"example_geopoint": {
"type": "GeoPoint",
"config": {
"label": "Shop location"
}
}
Here is an API response of a GeoPoint field with the API ID of example_geopoint:
Copy
// API response example of a GeoPoint field
{
//...
"example_geopoint": {
"latitude": 20.632784250388028,
"longitude": 0.0019419193267822268
}
}
Was this article helpful?
Can't find what you're looking for? Spot an error in the documentation? Get in touch with us on our Community Forum or using the feedback form above.