# Map based on address

**URL:** <https://community.glideapps.com/t/map-based-on-address/24203>\
**Category:** Ask for Help\
**Created:** [March 13, 2021, 3:36pm UTC](https://community.glideapps.com/t/map-based-on-address/24203 "2021-03-13T15:36:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alessandro](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alessandro/32/25019_2.png) [@Alessandro](https://community.glideapps.com/u/Alessandro)\
**Post date:** [March 13, 2021, 3:36pm UTC](https://community.glideapps.com/t/map-based-on-address/24203/1 "2021-03-13T15:36:05Z")

</div>

Hello Gliders,

I would like to know your opinion on how would you manage this:

The Map can display up to 1000 pins, (Pro version) so we are trying to display these pins based on a location that the user can decide **before** seeing the map: at the moment, this address is requested in user profile but this is not really intuitive… Do you have any ideas?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [March 13, 2021, 3:41pm UTC](https://community.glideapps.com/t/map-based-on-address/24203/2 "2021-03-13T15:41:28Z")

</div>

This?

[https://docs.glideapps.com/all/reference/components/pickers/location-component](https://docs.glideapps.com/all/reference/components/pickers/location-component)

---

<div class="post-metadata">

**Author:** ![Alessandro](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alessandro/32/25019_2.png) [@Alessandro](https://community.glideapps.com/u/Alessandro)\
**Post date:** [March 13, 2021, 7:20pm UTC](https://community.glideapps.com/t/map-based-on-address/24203/3 "2021-03-13T19:20:28Z")

</div>

Hi Darren, It is something alike, but that feature insert only latitude and longitude, is there any way to auto convert it into a complete address?

2nd, the visible pins should not be visible only based on a complete addresse but within a “range” wich could be a whole city for example.

I know this is pretty complicated, so here’s a practical example:

Eg. Me (user) I’m looking for a vehicle in Rome (Italy), so I have to insert the city before opening the map in order to display only the available items in that town.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 13, 2021, 11:37pm UTC](https://community.glideapps.com/t/map-based-on-address/24203/4 "2021-03-13T23:37:25Z")

</div>

> [@Alessandro](#):
>
> Hi Darren, It is something alike, but that feature insert only latitude and longitude, is there any way to auto convert it into a complete address?

You would have to use a script/external service to get an address from latitude and longitude, store it on your Sheet then display on the app.

> [@Alessandro](#):
>
> 2nd, the visible pins should not be visible only based on a complete addresse but within a “range” wich could be a whole city for example.

Looking at your example, I think you can have a column for city and let users filter in-app by that column.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [March 14, 2021, 12:38am UTC](https://community.glideapps.com/t/map-based-on-address/24203/5 "2021-03-14T00:38:59Z")

</div>

Actually I think you could either use the location component, or let the user type in an address. I’m not sure how your app is set up, but you would need to get that address/coordinates loaded into your vehicle sheet (maybe with a single value column), so every row in that sheet contains the address or coordinates that the user typed in. Then you can create a distance column that would calculate the distance between the single value column address and the vehicle address. Finally you can set a filter on your list to only show vehicles with a distance less than or equal to a preset distance (50km for example).

---

<div class="post-metadata">

**Author:** ![Alessandro](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alessandro/32/25019_2.png) [@Alessandro](https://community.glideapps.com/u/Alessandro)\
**Post date:** [March 14, 2021, 8:06am UTC](https://community.glideapps.com/t/map-based-on-address/24203/6 "2021-03-14T08:06:06Z")

</div>

Looks interesting! I’ll try to set this up today, thanks for the hint!

@ThinhDinh thanks for the answer, but this operation should be done before you even open the tab “Map”, with in app- filter you first see all the pins in the map and only after can reduce the item displayed.

---

<div class="post-metadata">

**Author:** ![NoCodeAndy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nocodeandy/32/62530_2.png) [@NoCodeAndy](https://community.glideapps.com/u/NoCodeAndy)\
**Post date:** [January 17, 2024, 4:53pm UTC](https://community.glideapps.com/t/map-based-on-address/24203/7 "2024-01-17T16:53:04Z")

</div>


