How to use google maps link field in maps component

Hi guys.

Does anybody knows how to use a google maps link in maps component?

Thanks in advance for your help.

you wanna show google maps instead of Glide Mapbox?

Sorry I didn’t explain muy self properly.

No. I just want to use (if possible) a google maps link field to show locations in Glide maps component.

https://www.google.com/maps/place/Fraunces+Tavern/@40.7034181,-74.0135589,17z/data=!3m2!4b1!5s0x89c25a146cbd6d09:0x50454b6de23e316e!4m5!3m4!1s0x89c25a146ccfe39f:0xfc075ae041658ede!8m2!3d40.7034181!4d-74.0113649

extract lat and lon from it, and use them in the map component… find @ position, and the second comma to calculate the start and length of the string.

Oh thanks. It sounds terrific but how do I do that. With a math field? the data is stored in Airtable. Maybe I can do this there? Still doesn’t know how to.

use excel formulas:

MID(A1, SEARCH("@",A1) + 1, SEARCH(",",A1,SEARCH(",",A1)+1) - SEARCH("@",A1) - 1)

2 Likes

I actually just did this & integrated it into an email message template. You probably wouldn’t use a math field. You could also use a Template column here in Glide. For example: Create your Template column & under “TEMPLATE” type something like http://maps.google.com/maps?q=coord&ll=coord . Then under “REPLACEMENTS” type something like coord in the left box & click the " ⋮ " button to the right of the box on the right & select the column where you store your addresses or GPS coordinates.

(Note that if that column tends to have spaces in it, you may also need to make another Template column that references the address/coordinate column & replaces any spaces with either nothing (for GPS coordinates) or &32; (the html code for space if you need a space in an address))

he wants to use the google maps link in glide, not to create a google link :wink:

1 Like