AnsweredAssumed Answered

How can I customize the filter widget?

Question asked by mctraverso on Sep 11, 2017
Latest reply on Oct 16, 2019 by MHamiltonSmith

I am using the filter widget in my web map but there are a few tweaks I would like to make.


One thing I noticed while using the filter widget is, if you uncheck the check mark in the top right corner of the widget after you filter, your map features that you filtered will go away but your inputs in the widget itself do not clear. This will potentially cause confusion with the end users because they will have to go and delete each input if they're interested in doing another filter search. Is there a way I can customize the filter widget so that when the check mark is unchecked it will not only clear the filtered map features but it will also clear the inputs?


Second, is there a way to customize the filter widget window to make it smaller? On a standard size desktop screen the widget covers a large portion of the map view and I would like it to be smaller to create more space to view the map itself. I know this can be done in dashboard theme but I am currently using foldable theme.  Can I customize the filter widget itself or do I have to use another theme?


Third, how can I add the same zoom feature that query widget has to the filter widget? I would like the map to zoom to the filtered features of the map layer.


Lastly, depending on how complicated, I would like it to automatically go to the map's initial extent  once the filtered features are cleared/unchecked.