Showing addresses in Glide map component

Hi!

I don’t know if you had a problem with putting addresses in the map component, but for me, the location pins were showing everywhere but the place I was aiming for.

After figuring out how to make it work properly I wrote a very short story about it in Medium:

https://medium.com/@danliebeschutz/how-to-make-addresses-show-correctly-in-glide-app-map-component-d0dcd8dcfba4

This is me trying to put 4 addresses in Tel Aviv:

Before:
image

After:
image

Enjoy!

7 Likes

Thanks Dan!

1 Like

Hi Dan, that’s a clever way of generating the component!

Love the integrated Google Script as well, I also used a script to generate the distance and travel time here.

1 Like

This is an awesome tip. I just added this script to one of my municipal apps where citizens can report illegal parking issues during a snowstorm. It seems to handle blocks, intersections, and specific addresses without an issue (so far).

Thanks Dan!

2 Likes

This is pretty neat, dude! Congrats!

2 Likes

Excellent your article, Dan. The solution I have used is to write the address on the map of the mapbox website (https://docs.mapbox.com/search-playground/). It gives you the correct way to write the address. Although some addresses cannot be found, in my case it has only been 10% of my searches.

I will test your formula with the addresses that I could not find. Thanks Dan.

2 Likes

Wow! Great to hear it helped Tim! Thanks for the feedback :+1:

Thank you Mauricio! Please let me know here if it did help!

Thank you!