Aug 01, 2022 06:27 PM
Hi
I have a very basic base with a list of locations and their details. I would like to know if there is a way once the address is ‘clicked’ in a record it can take me to a maps product such as Google maps, etc. that will allow directions/location information?
Thanks
Solved! Go to Solution.
Aug 01, 2022 06:38 PM
Hi Andrew, you could use Google Maps URLs for that, and you can find the documentation here
In practice, you’d probably make a formula field with the following formula:
"https://www.google.com/maps/search/?api=1&query=" & ENCODE_URL_COMPONENT({Location Name})
Resulting in something like the following (as taken from the documentation above): https://www.google.com/maps/search/?api=1&query=centurylink+field
Which I think is what you’re looking for?
Aug 01, 2022 06:38 PM
Hi Andrew, you could use Google Maps URLs for that, and you can find the documentation here
In practice, you’d probably make a formula field with the following formula:
"https://www.google.com/maps/search/?api=1&query=" & ENCODE_URL_COMPONENT({Location Name})
Resulting in something like the following (as taken from the documentation above): https://www.google.com/maps/search/?api=1&query=centurylink+field
Which I think is what you’re looking for?
Aug 01, 2022 07:14 PM
Thanks Adam
I am only new to Airtable and this sort of programming so I will see if I can follow the instructions and make it work on my base.
Andrew
Aug 01, 2022 07:28 PM
Roger that. I’ve put it together here for you to refer to if you’d like. Best of luck man
Aug 01, 2022 08:05 PM
Thanks I have got the location map to open using your formula. Now I am getting greedy and would like to get directions and maybe a shortest route for a number of locations. I have found a thread with the shortest route details, I just need to get my head around it.
Thanks again for your help.
Aug 02, 2022 06:44 PM
Interesting! Hmm, how would you input the origin point for the directions though?