Select to view content in your preferred language

Layer List check boxes need to respect scale visibility settings

513
0
01-03-2013 12:40 PM
DavidBoyd
Emerging Contributor
I'm still fairly new with using the API but making progress.  I have an application with a layer list and one layer (state trails) is set in the map service to turn off at a certain scale.  Right now the layer list doesn't reflect this, and the check box will still remain on if the layer is not visible due to scale.  I'm trying to figure out how to get the layer list to reflect when a layer isn't available due to scale...maybe grey out the check box?  At the very least I need it to uncheck and remain unchecked until it's at a viewable scale.  Any ideas how I could approach this?  Many thanks! David 

http://dswcapps.dcr.virginia.gov/dnh/vop/vop.htm
0 Kudos
0 Replies