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.