# Display location on Map

**URL:** <https://community.glideapps.com/t/display-location-on-map/68572>\
**Category:** Ask for Help\
**Created:** [December 11, 2023, 12:04pm UTC](https://community.glideapps.com/t/display-location-on-map/68572 "2023-12-11T12:04:46Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jaco](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jaco/32/67649_2.png) [@Jaco](https://community.glideapps.com/u/Jaco)\
**Post date:** [December 11, 2023, 12:04pm UTC](https://community.glideapps.com/t/display-location-on-map/68572/1 "2023-12-11T12:04:46Z")

</div>

Hi all,  
My name is Jaco from France, this is my first post and I apologize in advance for newbies questions and my english also 😉  
I’m working on a project for a week now which includes display of adresses on a map with many filters.  
Everything works fine, i’m now familiar with GPS coordinates, and could show the adress which are in a chosen perimeter around a specific GPS point but i’m actually not able to display this specific point (could come from location function, or search box) with a different shape or color to clearly identify where is located this item.  
Not sure that my question is clear … feel free to ask for more informations.  
Thank you !

---

<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:** [December 11, 2023, 11:53pm UTC](https://community.glideapps.com/t/display-location-on-map/68572/2 "2023-12-11T23:53:24Z")

</div>

> [@Jaco](#):
>
> Everything works fine, i’m now familiar with GPS coordinates, and could show the adress which are in a chosen perimeter around a specific GPS point but i’m actually not able to display this specific point (could come from location function, or search box) with a different shape or color to clearly identify where is located this item.

It is what it is, natively you can’t color the map pins (if I understand you right).

With CSS, it is possible, but your case might require dynamic pins to be colored and I don’t see a way to satisfy that.

---

<div class="post-metadata">

**Author:** ![Jaco](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jaco/32/67649_2.png) [@Jaco](https://community.glideapps.com/u/Jaco)\
**Post date:** [December 12, 2023, 12:18pm UTC](https://community.glideapps.com/t/display-location-on-map/68572/3 "2023-12-12T12:18:01Z")

</div>

Thank you for your answer.  
I saw this option via CSS, but it needs to upgrade on Pro or Business plan, right ?  
For the moment I will stay on Starter one …  
By the same way, is there a way to display on the map, locations from different tables ?  
I have the main table with the list of places, I show them (or some of them depending the filters) on a map.  
One of the filter is the distance from a specific address, I store this searched address in the users table and make all the calculation in the tables to match the filters but didn’t find a way to include this searched address in the places displayed on the map …

---

<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:** [December 12, 2023, 12:48pm UTC](https://community.glideapps.com/t/display-location-on-map/68572/4 "2023-12-12T12:48:47Z")

</div>

> [@Jaco](#):
>
> I saw this option via CSS, but it needs to upgrade on Pro or Business plan, right ?

It’s only available on Business/Enterprise but even then it’s not dynamic, and I assume you might want to target dynamic items.

> [@Jaco](#):
>
> By the same way, is there a way to display on the map, locations from different tables ?  
> I have the main table with the list of places, I show them (or some of them depending the filters) on a map.  
> One of the filter is the distance from a specific address, I store this searched address in the users table and make all the calculation in the tables to match the filters but didn’t find a way to include this searched address in the places displayed on the map …

I’m not sure I follow. How does that distance relate to the list of locations you have?

---

<div class="post-metadata">

**Author:** ![Jaco](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jaco/32/67649_2.png) [@Jaco](https://community.glideapps.com/u/Jaco)\
**Post date:** [December 12, 2023, 1:20pm UTC](https://community.glideapps.com/t/display-location-on-map/68572/5 "2023-12-12T13:20:02Z")

</div>

Sorry, I’ll try yo clarify :  
This a view without filter

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/7/775913cc2e25366e00ccd0b2d7f9b83fdc7127dd.jpeg)  
and when I look for an address, I use Google Complete Address, then Get CoordinateForAddress and after calculate distances from this point for all my places.  
After that the display shows the valid places :  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/4/54aba512d9400cd9da12bd6e326c6cbe3cf51009.jpeg)  
but I would like to also show a pin for the searched address … or eventually center the map on this point …

---

<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:** [December 12, 2023, 1:38pm UTC](https://community.glideapps.com/t/display-location-on-map/68572/6 "2023-12-12T13:38:15Z")

</div>

Maybe you can have a trick here:

- Add a row to your Locations database, name it something like “Current location”.
- Add an if-then-else column, if “name” is “Current location” then return the address that the user is searching through user profiles dropdown, else return the address that you already have for normal pins.

---

<div class="post-metadata">

**Author:** ![Jaco](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jaco/32/67649_2.png) [@Jaco](https://community.glideapps.com/u/Jaco)\
**Post date:** [December 12, 2023, 2:15pm UTC](https://community.glideapps.com/t/display-location-on-map/68572/7 "2023-12-12T14:15:36Z")

</div>

Smart idea, I will search around that to make it also compatible with the other criterias …  
Thank you for you help 🙏

---

<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:** [December 13, 2023, 12:13am UTC](https://community.glideapps.com/t/display-location-on-map/68572/8 "2023-12-13T00:13:53Z")

</div>

Please let us know if you need more help.
