AnsweredAssumed Answered

Formatting the Filter Widget

Question asked by wmobley@tamu.edu on Oct 16, 2017
Latest reply on Oct 17, 2017 by wmobley@tamu.edu

I have one filter that I would like to add to a web map. It will filter one file, but has four options, three which are binary. While one has 4 options. I'd prefer for the filter to have buttons instead of drop downs since most of the options are binary. And perhaps a slider for the last option. 

Would turn into :

 

I'm struggling to tweak the final interface to look how I want. Initially, I wanted to just hide the actual filters, and create my own buttons and use Javascript to change the drop downs to preconfigured values. I tried adding this into the widget.html file but can't seem to pass working javascript through the widget. Does anybody have any better ideas how I can configure this?

Outcomes