Custom Fields
Re-Envisioned
Support Meta Box Geolocation Retrieve coordinates while providing address Reply To: Retrieve coordinates while providing address

#11421

Anh Tran
Keymaster

Hi Thomas,

To use the Geolocation extension to retrieve latitude and longitude, please create 2 fields with ID lat and lng as follows:

https://ghostbin.com/paste/5dpyd

When you select an address from the suggestion list, the latitude and longitude are auto populated:

View post on imgur.com

Then on the front end, you can use the rwmb_meta function to get their values.