Home › Forums › Backend Issues (wp-admin) › Upgrade to use Google Maps field type › Reply To: Upgrade to use Google Maps field type
So I have done some checking and when I convert the field to a text field, the values are shown like this:
52.402227;-1.44104
so the format is Latitude;Longitude.
I checked and with the Google Maps field option, the data is stored like this:
a:3:{s:7:”address”;s:7:”CV3 2TX”;s:3:”lat”;s:10:”52.4022271″;s:3:”lng”;s:17:”-1.44103999999993″;}
I have post codes for all of the locations, so is there a way of running a converter like script that will format the lat;long values in a way that makes them readable by the new Google Maps field?
Thanks
Thanks
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.