Select to view content in your preferred language

Filter Map Action inside the Views Navigation Widget

404
4
08-12-2025 11:24 AM
Status: Open
Labels (3)
Zach-Williams
Emerging Contributor

I have been working on an experience that uses a Section Widget on the right side, a Map Widget with 1 map in the middle, and a Views Navigation Widget on the left.

I have a web map created with a Feature Layer that has 19 different Named Features inside its attribute table with a symbology representing each named feature. 

What I want to accomplish is when I click one of the Views Navigation titles I have made on the left, I want to both 1) switch the view that has the information about the set of polygons which is the default of what the views navigation does, and 2) the idea I am proposing, an action that filters the polygons based on the named feature. Essentially, a Filter Map action inside of the views navigation that can do what a filter widget does. It will need a pan action and a zoom action, and inside of the zoom, make an automatic/custom zoom (just like the filter widget)

The current setup I have is a 2 click solution and what is being required for this experience is a 1 click solution. I believe this is achievable, as it only has to do with a views navigation interacting with a map widget. I would prefer not to need to custom build a widget in developer edition as I am not savvy.

What I have to resort to is building 20 different maps, all with the same data. Then including each "different" map with the same data inside each of the views, with a filter widget built into each view that filters the map automatically so that when you click a different view, it is a different map with an automatic filter applied to it and doesn't affect the different views as they are all not relying on a single map widget.

I have attached what I am currently workshopping. First is what all the layers look like on the opening view, Second shows what I want it to do but with the filter widget automatically applied when it opens that view. I cannot get it to automatically apply each filter in the different views as I would have to turn off the filter before I go to the next view, or else nothing shows up. 

Both an idea and a current issue I am dealing with.

4 Comments
MattiasEkström

Have you tried using the list widget to the left instead of Views Navigation Widget?
The list widget is very flexible and I think you can make it look like your navigation widget looks like now. And it has more actions, like filter action etc. 

Zach-Williams
While I like list widgets for certain uses, the issue with using it here is that this experience is focused on the visual aspect about parcels that fall under different "design concepts" more than it being data centric or needing to show a list of all the parcels that fall under them. It is a general, public use map that highlights the design concept zones across the city, and my goal is to replicate the book "look" that it is designed after. Adding a list widget will complicate its use case.
MattiasEkström

I was thinking of connecting the list to your "Feature Layer that has 19 different Named Features" and just show the names and using it as a navigation widget if that gives you the actions you need to filter data etc.

Zach-Williams
After much consideration and deliberation, I will go with the list idea. I'm now going to create a layer that has all the individual polygons with the same name as 1 polygon, which will clean up the list. The widget has the capability I need, and in a view I will put dynamic text and pictures from the layers so it's less busy. Thank you for your input!!