Solved! Go to Solution.
I referenced the "legend - toggle services" widget sample to update my map. The legend works great and refreshes better than my last version, but the layer tab just lists the whole map service as one check box...instead of listing the many layers separately, like in the legend. I'm not sure how to change the script to break out all layers so visibility can be toggled for each one, or if this change would be specific to the legend or checkbox part of the script. Any suggestions or clues are welcome! Thanks, David
Here's the map: http://dswcapps.dcr.virginia.gov/dnh/vop/vop_accordion.htm
I referenced the "legend - toggle services" widget sample to update my map. The legend works great and refreshes better than my last version, but the layer tab just lists the whole map service as one check box...instead of listing the many layers separately, like in the legend. I'm not sure how to change the script to break out all layers so visibility can be toggled for each one, or if this change would be specific to the legend or checkbox part of the script. Any suggestions or clues are welcome! Thanks, David
Here's the map: http://dswcapps.dcr.virginia.gov/dnh/vop/vop_accordion.htm