AnsweredAssumed Answered

Re: Hiding Scale-specific Layers in Layer List?

Question asked by wspiking on Mar 8, 2017
Latest reply on Mar 8, 2017 by wspiking
Branched from an earlier discussion

Branch from: Hiding Scale-specific Layers in Layer List? 


Hi Robert,


Hope all is well!


I'm trying to hide, instead of gray out, scale dependent layers much like what Jason was trying to accomplish above though when I change the style to display none it just hides the text and not the checkbox to the left.  Do you have any recommendations on hiding the checkbox as well?  I'm using WAB Dev 2.3 and have tested with the otb layer list widget, your modified code for the layer list, and Kevin MacLeod Ehanced Layer List and getting the same results for all three.  I've fiddled around with the code trying to hide the checkbox, but no luck as of yet.


Any help would be greatly appreciated!


Thank you sir,



Screen shot of layer list