# Multiple Dynamic Filters on a Map?

**URL:** <https://community.glideapps.com/t/multiple-dynamic-filters-on-a-map/4313>\
**Category:** Ask for Help\
**Created:** [February 6, 2020, 5:40am UTC](https://community.glideapps.com/t/multiple-dynamic-filters-on-a-map/4313 "2020-02-06T05:40:44Z")\
**Posts on this page:** 17\
**Page:** 2

<div class="post-metadata">

**Author:** ![Stanislas\_Verjus](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/stanislas_verjus/32/1462_2.png) [@Stanislas\_Verjus](https://community.glideapps.com/u/Stanislas_Verjus)\
**Post date:** [May 12, 2020, 2:41pm UTC](https://community.glideapps.com/t/multiple-dynamic-filters-on-a-map/4313/21 "2020-05-12T14:41:16Z")

</div>

Hello there,  
Thanks for the tips, it’s amazinnng  
@Jeff_Hager i have a trouble with the user specific columns… I don’t know in wich sheet to add it ahaha.  
Could you help me ? :o

---

<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 13, 2020, 3:08am UTC](https://community.glideapps.com/t/multiple-dynamic-filters-on-a-map/4313/22 "2020-05-13T03:08:44Z")

</div>

It all depends on what you are trying to do, but if you are trying to save a choice component value, for example, then the user specific column would be placed on the same sheet where you are viewing the detail screen and have the choice component on that screen.

---

<div class="post-metadata">

**Author:** ![Paris\_Smith](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/paris_smith/32/10164_2.png) [@Paris\_Smith](https://community.glideapps.com/u/Paris_Smith)\
**Post date:** [July 4, 2020, 10:06pm UTC](https://community.glideapps.com/t/multiple-dynamic-filters-on-a-map/4313/23 "2020-07-04T22:06:38Z")

</div>

@Jeff_Hager, hello and thank you for your instructions and Concepts app. I was able to recreate your Region and Division example for a dynamic filter on a map. I’ve decided now to filter based on State instead, and I can’t get the visibility to show me only the items in the State the user selects from a Choice of all states. With one inline list, the filter works fine. When I add a second (or more) inline list, I believe there’s some conflict occurring.

Any idea how I can simplify your dynamic filters from two to just one choice - it’s really the visibility I’m getting hung up on. If anyone has a suggestion, I’m all 👂🏽's! Thanks in advance!

Oh, to add - I’ve tried putting my choice on sheet1 and my results on sheet2, and have even tried choices and results being on the same sheet. I’m getting stuck on how to filter AND/OR apply visibility.

Ex. based on state choice = Maryland, show me a list of restaurants in the state of Maryland.

---

<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:** [July 5, 2020, 12:27am UTC](https://community.glideapps.com/t/multiple-dynamic-filters-on-a-map/4313/24 "2020-07-05T00:27:06Z")

</div>

If you want to filter based on the States only, have a choice component pointing to a user-specific column that would store the state.

Then add a relation matching that column to the state column in the sheet where you store all restaurants, set the matching to multiple. Display that relation in a map layout.

---

<div class="post-metadata">

**Author:** ![Paris\_Smith](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/paris_smith/32/10164_2.png) [@Paris\_Smith](https://community.glideapps.com/u/Paris_Smith)\
**Post date:** [July 5, 2020, 1:09am UTC](https://community.glideapps.com/t/multiple-dynamic-filters-on-a-map/4313/25 "2020-07-05T01:09:42Z")

</div>

Thank you @ThinhDinh!! I did what you suggested and it worked. Just what I needed. Yessss! 🏁

---

<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:** [July 5, 2020, 1:43am UTC](https://community.glideapps.com/t/multiple-dynamic-filters-on-a-map/4313/26 "2020-07-05T01:43:14Z")

</div>

Glad it works 😄

---

<div class="post-metadata">

**Author:** ![StephM](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@StephM](https://community.glideapps.com/u/StephM)\
**Post date:** [July 27, 2020, 2:10pm UTC](https://community.glideapps.com/t/multiple-dynamic-filters-on-a-map/4313/27 "2020-07-27T14:10:53Z")

</div>

Hi Jeff, I am also trying to replicate the Dynamic List Filter but I’m a bit confused with sheets and where things live.

I created one new sheet for “filter choices” and one for “user filter selections” in which I have the user specific columns. Is this correct?

The issue I am having is when I try to set up the choice components for the filters, I am forced to choose a column of my “details sheet” (instead of the “user filter selections”, as I would want it) to record user data.

Here is my app: [https://toddl.glideapp.io/](https://toddl.glideapp.io/)

---

<div class="post-metadata">

**Author:** ![Mauronic](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mauronic/32/21726_2.png) [@Mauronic](https://community.glideapps.com/u/Mauronic)\
**Post date:** [October 22, 2020, 4:52pm UTC](https://community.glideapps.com/t/multiple-dynamic-filters-on-a-map/4313/28 "2020-10-22T16:52:31Z")

</div>

I took some inspiration from @Jeff_Hager and implemented a UI with these features:

- Filter based on distance bands or all
- Filter based on tag (category) when your filter selection matches one of several possible tags
- Above includes “All Categories” or places that you have favorited
- Switch between list/map view

If glide has a more sophisticated filtering UI then I would have had to make this 😉 😉

One downside is that sometimes there is a 3+ second delay before items are presented. I assume that this relates to the distance calculations? This would be tolerable if the list UI provided loading feedback but it looks like empty search results.

Also, I am about to expand the places database from 100 to 1300. That will double again in a month or so. I am holding my breath that the app does not take a performance hit.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/6/6fbb66f17dee68237b65bff498260955221a0082.png) ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/0/017ef509cd40b6cb0d025b323287858d04a2d564.png)

I can provide more info if people are interested.

---

<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:** [October 22, 2020, 9:54pm UTC](https://community.glideapps.com/t/multiple-dynamic-filters-on-a-map/4313/29 "2020-10-22T21:54:39Z")

</div>

That is great! Your method reminds me of @Jeff_Hager’s floating button, probably I’ll try making a floating filter button that leads to a screen with multiple choice filters at some point in the future.

---

<div class="post-metadata">

**Author:** ![Mauronic](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mauronic/32/21726_2.png) [@Mauronic](https://community.glideapps.com/u/Mauronic)\
**Post date:** [October 22, 2020, 10:39pm UTC](https://community.glideapps.com/t/multiple-dynamic-filters-on-a-map/4313/30 "2020-10-22T22:39:29Z")

</div>

Thanks. During user tests, nobody noticed the filter button at the top. Plus when you have a map consume the whole screen there is no room leftover for other important functions (not shown in my screenshot).

---

<div class="post-metadata">

**Author:** ![Simon\_Hill](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/simon_hill/32/94730_2.png) [@Simon\_Hill](https://community.glideapps.com/u/Simon_Hill)\
**Post date:** [January 14, 2021, 10:07am UTC](https://community.glideapps.com/t/multiple-dynamic-filters-on-a-map/4313/31 "2021-01-14T10:07:41Z")

</div>

This would be worth a million dollars. I hope it happens too.

“What would be in fact a very basic solution is to add a “ADD” and “OR” feature to the configuration section of the Relation column. That way you can combine and intersect whatever elements you want in a Relation column, saving the hassle of doing all of the work you did.”

Simon.

---

<div class="post-metadata">

**Author:** ![Simon\_Hill](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/simon_hill/32/94730_2.png) [@Simon\_Hill](https://community.glideapps.com/u/Simon_Hill)\
**Post date:** [January 17, 2021, 8:00am UTC](https://community.glideapps.com/t/multiple-dynamic-filters-on-a-map/4313/32 "2021-01-17T08:00:27Z")

</div>

I have used this method. The 3+ second delay means it’s unusable 🤷‍♂️.

---

<div class="post-metadata">

**Author:** ![Mauronic](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mauronic/32/21726_2.png) [@Mauronic](https://community.glideapps.com/u/Mauronic)\
**Post date:** [January 19, 2021, 3:48am UTC](https://community.glideapps.com/t/multiple-dynamic-filters-on-a-map/4313/33 "2021-01-19T03:48:01Z")

</div>

My app slows down to being unusable when trying to display \> 50 pins. However, if the user filters it to a low number it is relatively responsive and usable.

(Relative is an important word because my entire app has 2s page loads which is on the high side already)

---

<div class="post-metadata">

**Author:** ![Lucy\_Pink](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lucy_pink/32/25485_2.png) [@Lucy\_Pink](https://community.glideapps.com/u/Lucy_Pink)\
**Post date:** [May 28, 2021, 5:17am UTC](https://community.glideapps.com/t/multiple-dynamic-filters-on-a-map/4313/34 "2021-05-28T05:17:25Z")

</div>

I agree - too many filters and the app slows down a lot.

---

<div class="post-metadata">

**Author:** ![Alice\_Xiao](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alice_xiao/32/37980_2.png) [@Alice\_Xiao](https://community.glideapps.com/u/Alice_Xiao)\
**Post date:** [February 11, 2022, 6:23am UTC](https://community.glideapps.com/t/multiple-dynamic-filters-on-a-map/4313/35 "2022-02-11T06:23:37Z")

</div>

Hi @Jeff_Hager, nice to meet you. I’m facing a similar problem of trying to implement multiple dynamic filters in a map view. I have built the filters for the list view, however, for some reason I can’t figure out how to insert the filter component on the map page (as it is not a detail view). When I try to put the map component into the details page, it is a static image and not an interactive map.

I can’t find your multiple filter in map view in your “Concepts” app anymore – perhaps it was deleted as it was a while ago? Could you explain how you added the choice component to the map view? Thank you very much in advance!

---

<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:** [February 11, 2022, 5:02pm UTC](https://community.glideapps.com/t/multiple-dynamic-filters-on-a-map/4313/36 "2022-02-11T17:02:24Z")

</div>

Fair warning that the concepts app is quite old and I haven’t updated it in a long time. Some things I would probably do differently now, but for the most part, this particular concept for setting up the screen should be the same. The demo in to concepts app is labeled “Dynamic List Filter”, so you should be able to find it there. I would also consider taking a look at the following tutorial and related posts for some possible better ways to achieve filtering. My version can become quite limited if you start to have a lot of filters.

> [@tornado Use Multiple Choice Components to Filter an Inline List](https://community.glideapps.com/t/use-multiple-choice-components-to-filter-an-inline-list/16932):
>
> [[Glide: Filter an Inline List with Choice Components] ](https://www.youtube.com/watch?v=NOYFsVUWQXw) Updated July 2022 
> 
> > **Version 1**
> >
> > \<a href="https://www.youtube.com/watch?v=rtbFccDKuH0"\>https://www.youtube.com/watch?v=rtbFccDKuH0\</a\>

> [@How to filter inline list with several parameters?](https://community.glideapps.com/t/how-to-filter-inline-list-with-several-parameters/36855):
>
> Hi experts, I have an inline list of exercises that I want the user to filter using the parameters: Area, Type and a letter search. I created the USC and filtered the list accordingly. My problem is when all the parameters are empty I want the list to show in full, the reality is it only shows the empty values that match. The area and Type parameters are set to allow choose multiple, that’s why I use “is included in” When everything is filled the list is searched correctly but when somethin…

> [@Multiple selection not working when items are NOT adjacent in DYNAMIC FILTERS](https://community.glideapps.com/t/multiple-selection-not-working-when-items-are-not-adjacent-in-dynamic-filters/37935):
>
> I have created multiple lists of filter categories for users to narrow down their choice of options. Some filter categories allow users to select multiple options within the same list. If the options they select are not adjacent in the list, it will display NO MATCHES example: if options are 1,2,3,4,5 - and user selects that they want 1 and 4 - DOES NOT WORK example: if options are 1,2,3,4,5 - and user selects that they want 1 and 2 - it will work Pictures for an example of: user selects 2 …

To answer your question:  
First of all, a map with custom filters will only work on a Details style layout. You can’t use the maps style list because you need to be attached to a specific row of data to accept the user selected filters. The Map style list along with all of the other list style views are not attached to a specific row of data and can only show a list on the screen with nothing else.

To get a map list on a details style view, you shouldn’t use the map component. Instead you should add an inline list with the map style view. The list of items in the inline list can then be filtered by your user selected filters.

---

<div class="post-metadata">

**Author:** ![Alice\_Xiao](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alice_xiao/32/37980_2.png) [@Alice\_Xiao](https://community.glideapps.com/u/Alice_Xiao)\
**Post date:** [February 13, 2022, 9:07pm UTC](https://community.glideapps.com/t/multiple-dynamic-filters-on-a-map/4313/37 "2022-02-13T21:07:52Z")

</div>

Thanks very much!

[Previous page](https://community.glideapps.com/t/multiple-dynamic-filters-on-a-map/4313.md?page=1)
