Skip to main content
Solved

Map directions from mobile

  • August 2, 2022
  • 5 replies
  • 46 views

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

Best answer by TheTimeSavingCo

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?

5 replies

TheTimeSavingCo
Forum|alt.badge.img+31
  • Brainy
  • 6463 replies
  • Answer
  • August 2, 2022

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?


  • Author
  • New Participant
  • 2 replies
  • August 2, 2022

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?


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


TheTimeSavingCo
Forum|alt.badge.img+31

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


Roger that. I’ve put it together here for you to refer to if you’d like. Best of luck man


  • Author
  • New Participant
  • 2 replies
  • August 2, 2022

Roger that. I’ve put it together here for you to refer to if you’d like. Best of luck man


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.


TheTimeSavingCo
Forum|alt.badge.img+31

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.


Interesting! Hmm, how would you input the origin point for the directions though?