I'm working on our first Flex server page using the Flex Viewer 2.3.1. The Legend widget works, but I cannot get the excludelayer tag to work. Here's where the problem probably is - it's a cached map service. Can the excludelayer tag be used on a cached map service? The layer I'm trying to exclude is an image service. Thanks in advance.
Here's the snippet of code:
<?xml version="1.0" ?> <configuration> <usebasemaps>true</usebasemaps> <useoperationallayers>false</useoperationallayers> <respectcurrentmapscale>true</respectcurrentmapscale> <excludelayer>SJCounty_2009_1ft</excludelayer> </configuration>
The image service is within the base map layers. I'm trying to remove the entire image service from the legend, and not just the boundary/footprint,etc.