I am having continuing problems trying to exlcude layers for the dynamic legend.
No layer I specify in the config for dynamic legend is excluded.
I post some of the main config file and dynamic legend.xml file.
Thanks for any help.
Ian
configuration>
<!--mapservice must be specified, and is the label of the layer (Map Service) as
listed in the config.xml. If no ids are listed for the excludeLayer, then
the entire map service will be excluded from the legend. If you specify id(s)
then only the id(s) of the mapservice will be excluded from the legened-->
<!--Example:
<excludeLayer mapservice="Homeland Security Operations">0,1</excludeLayer>
-->
<excludeLayers>
<excludelayer mapservice="Rivers Labels (144K-1M)"></excludelayer>
<excludelayer mapservice="Basins Labels (144K-577K)"></excludelayer>
<excludelayer mapservice="Rail Labels (72K-288K)"></excludelayer>
<excludelayer mapservice="Rail Labels (72K-288K)"></excludelayer>
<excludelayer mapservice="Boundaries_LGA_Labels"></excludelayer>
<excludelayer mapservice="Localities Labels (36K-144K)"></excludelayer>
<excludelayer mapservice="Islands Labels (36K-288K)"></excludelayer>
<excludelayer mapservice="Hide Bing"></excludelayer>
</excludeLayers>
<excludeGraphicLayers>true</excludeGraphicLayers>
</configuration>
Parts of config file
<layer label="Rivers,Waterways (144K-2M)" type="tiled" visible="False" alpha="1" url="xxx/ArcGIS/rest/services/InlandWaters_RiversWaterbodies_rev_c/MapServer">
<layer label="Rivers Labels (144K-1M)" type="tiled" visible="false" alpha="1"
url="xxx/ArcGIS/rest/services/InlandWaters_RiversWaterbodies_Labels/MapServer">
<layer label="Drainage Basins (144K-2M)" type="tiled" visible="False" alpha="1"
url="xxx/ArcGIS/rest/services/InlandWaters_Basins_rev_c/MapServer"/>
<layer label="Basins Labels (144K-577K)" type="tiled" visible="false" alpha="1"
url="xxx/ArcGIS/rest/services/InlandWaters_Basins_Labels_rev_c/MapServer"/>