Controlling the Visibility of Dynamic Map Layers

The visibility of layers can only be controlled in a dynamic map service. To control the visibility of individual map layers, you must set the visible attribute to true or false. For example:

<layer layerid="0" allowselect="false" name="Dennis_2005" shape="line" visible="false">

Note: By default, the visible attribute is set to true. If this value is not in your ESRI Configuration Utility, you will have to update the XML definition file manually to include it.


WebFOCUS