# Displaying a single location using map component

**URL:** <https://community.glideapps.com/t/displaying-a-single-location-using-map-component/73174>\
**Category:** Ask for Help\
**Created:** [May 8, 2024, 4:59am UTC](https://community.glideapps.com/t/displaying-a-single-location-using-map-component/73174 "2024-05-08T04:59:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![blairrorani](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/blairrorani/32/43426_2.png) [@blairrorani](https://community.glideapps.com/u/blairrorani)\
**Post date:** [May 8, 2024, 4:59am UTC](https://community.glideapps.com/t/displaying-a-single-location-using-map-component/73174/1 "2024-05-08T04:59:35Z")

</div>

**Goal**  
Display the location of a single accident in a map component.

**Progress**

- I have a field to store map coordinates that is populated using the current location component.
- I want to display a map that shows this location only.
- Currenlty the map displays all locations for all records in the accidents table, I only want to show the location for the current accident. **How do I do this?**

---

<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:** [May 8, 2024, 5:04am UTC](https://community.glideapps.com/t/displaying-a-single-location-using-map-component/73174/2 "2024-05-08T05:04:20Z")

</div>

Add a filter to the map component or use a relation that only has one matching result as it’s source. Think of it like any other collection style. How would you get the same result with just a list style collection.

Or just select ‘This Item’ as the source.

---

<div class="post-metadata">

**Author:** ![blairrorani](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/blairrorani/32/43426_2.png) [@blairrorani](https://community.glideapps.com/u/blairrorani)\
**Post date:** [May 8, 2024, 5:13am UTC](https://community.glideapps.com/t/displaying-a-single-location-using-map-component/73174/3 "2024-05-08T05:13:34Z")

</div>

I overlooked “this item” option for source, was v confusing! Thank Jeff

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [May 15, 2024, 5:13am UTC](https://community.glideapps.com/t/displaying-a-single-location-using-map-component/73174/4 "2024-05-15T05:13:43Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
