Service scale dependency from config file?

1201
1
04-04-2011 08:21 AM
NathanEnge
Esri Contributor
Is it possible to toggle visibility of a map service based on scale dependency that is not a tiled or bing service? I see this entry in the help:

<LI value=5>displaylevels - To specify which scale levels this layer should be displayed at. Only applies to "tiled" and "bing" layers.

For my own dynamic map services, I can adjust layer visibility through scale dependency in ArcMap. However for WMS or other AGS that I am sourcing from external sources (I have no control), how can I set the visibility scale of this, without having first to add it to an ArcMap and republish as my own service?
Tags (2)
0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus
Nathan,

   Every layer is enabled with a maxScale and minScale property all you would have to do is check those in code.
0 Kudos