Important: Starting v2.27.1, users can now add GPS Location question type and map those to Geolocation fields. Wherever possible, you should get the latest Supported Version. If you have used the workaround below, we recommend you migrate your data into new fields. For more information, please read this article.
Back in v2.26.4 and lower there were no GPS question type that you could directly map into fields. But by capturing the GPS coordinates at the start of the form and adding a couple of formula fields, you can achieve the same result.
Starting July 2019, Google Maps requires you register for API key which is a personal code provided by Google to access Google Maps. Your API key provides you with a free quota of Google Map queries. Your Google account will be automatically billed for any usage that exceeds your quota. Please follow these steps to signup for the API key so that maps displays on Salesforce record.
Comments
2 comments
Could you submit the formula text for showing the google map within the object record here? It is hard to see on the video and would be easier to cut and paste into the formula field
Johanna, try this:
"http://maps.googleapis.com/maps/api/staticmap?center=" & TEXT(Latitude_auto_c) & "," & TEXT( Longitude_autoc ) & "&zoom=12&size=300x300&sensor=true&markers=color:red%7Clabel:A%7C"& TEXT(Latitude_autoc) & "," & TEXT( Longitude_auto_c )
Please sign in to leave a comment.