AnsweredAssumed Answered

Toggle layers with checkboxes

Question asked by drdlund4 on Jul 10, 2014
Latest reply on Jul 15, 2014 by drdlund4

How would you code the javascript to initialize a map with 4 layers if you want 2 layers to be initially visible when the map loads, and 2 layers to be hidden, and you want the ability to toggle the layers on and off in any combination using checkboxes. Would prefer the check boxes to be in a dojo accordion panel, but would settle for them being across the top if that is easier.