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 survey and adding a couple of formula fields, you can achieve the same result.