I have been working with Flexviewer for a few months now and have been slowly making progress creating a web app. I am having some minor issues that are rather annoying to try and conquer. I am going to try and keep this simple and straightforward in hopes that a few people can help guide me in the right direction. I have read the help pages and getting started resources, however, these do not exactly cover small steps that can be rather mundane but also confusing, or so I believe.I have created 6 map services. I have the following: a basemap of the county, 2007 floodplain, 2007 cross sections, 2010 floodplain, 2010 cross sections, and a 2008 ortho of the county. All of these 6 services have been cached to optimize the browser speed for viewing. I am trying to create a very simple application when users can zoom, pan, and perform simple address searches for the county. I have all the layers in each service setup with min/max in order to display at certain levels. I want to have this application have the basemap of the county to always be visible. All the other layers I want to have the ability to be turned on or off at the users choice. I would like to have all of the layers, including the basemap, to be visible in the layer list widget I implemented in case users want to turn layers on or off. My troubles are a few: 1)The basemap layer is listed as my basemap layer and an operational layer, however it does not appear in the layer list. 2)I also have implemented the dynamic legend and for the basemap layers....they are all repeated twice in the dynamic layer once I am zoomed in to where all the layers in basemap are turned on?! 3) When I click on the arrow for a layer in the layer list, it drops down with the sublayers but there is no box to turn those sublayers on/off. (this may be due to the fact that all the services are cached and therefore cannot be turned on/off separately in the layer.I am adding my config.xml for reference, if anyone can see something I may have set up wrong, please let me know....<?xml version="1.0" ?>
<!--
////////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2010 ESRI
//
// All rights reserved under the copyright laws of the United States.
// You may freely redistribute and use this software, with or
// without modification, provided you include the original copyright
// and use restrictions. See use restrictions in the file:
// <install location>/License.txt
//
// Read mode about ArcGIS Viewer for Flex 2.1 - http://links.esri.com/flexviewer
//
////////////////////////////////////////////////////////////////////////////////
-->
<configuration>
<title>Bartow County</title>
<subtitle>Floodplain Mapping Application</subtitle>
<logo>assets/images/bartow_courthouse.png</logo>
<stylecolors>0xFFFFFF,0x333333,0x101010,0x000000,0xFFD700</stylecolors> <!-- Black Gold -->
<stylealpha>0.8</stylealpha>
<!-- UI elements -->
<widget left="10" top="50" config="widgets/Navigation/NavigationWidget.xml" url="widgets/Navigation/NavigationWidget.swf"/>
<widget right="-2" bottom="-2" config="widgets/OverviewMap/OverviewMapWidget.xml" url="widgets/OverviewMap/OverviewMapWidget.swf"/>
<widget right="20" top="55" config="widgets/MapSwitcher/MapSwitcherWidget.xml" url="widgets/MapSwitcher/MapSwitcherWidget.swf"/>
<widget left="0" top="0" config="widgets/HeaderController/HeaderControllerWidget.xml" url="widgets/HeaderController/HeaderControllerWidget.swf"/>
<map initialextent="1991769 1448332 2191422 1642143">
<basemaps>
<layer label="Basemap" type="tiled" visible="true" alpha="1"
url="http://publicgis/PublicGISserver/rest/services/Basemap/MapServer"/>
</basemaps>
<operationallayers>
<layer label="2008 Aerial Photo" type="tiled" visible="true" alpha="0.75"
url="http://publicgis/PublicGISserver/rest/services/2008_Aerial_Photo/MapServer"/>
<layer label="Basemap" type="tiled" visible="true" alpha="1"
url="http://publicgis/PublicGISserver/rest/services/Basemap/MapServer"/>
<layer label="2007 Cross Sections" type="tiled" visible="false" alpha="1"
url="http://publicgis/PublicGISserver/rest/services/2007_CrossSections/MapServer"/>
<layer label="2007 Bartow Floodplain" type="tiled" visible="false" alpha="1"
url="http://publicgis/PublicGISserver/rest/services/2007_BartowFloodplain/MapServer"/>
<layer label="2010 Cross Sections" type="tiled" visible="false" alpha="1"
url="http://publicgis/PublicGISserver/rest/services/2010_CrossSections/MapServer"/>
<layer label="2010 Bartow Floodplain" type="tiled" visible="true" alpha=".85"
url="http://publicgis/PublicGISserver/rest/services/2010_BartowFloodplain/MapServer"/>
</operationallayers>
</map>
<!-- widgets organized into widget containers that manage close/open etc -->
<!-- supported layout property options: horizontal(default)|float|vertical|fix-->
<widgetcontainer layout="float">
<widget label="Search" left="80" top="280"
icon="assets/images/i_search.png"
config="widgets/Search/SearchWidget_Bartow.xml"
url="widgets/Search/SearchWidget.swf"/>
<widget label="Layers" left="80" top="280"
icon="assets/images/i_layers.png"
config="widgets/LayerList/LayerListWidget.xml"
url="widgets/LayerList/LayerListWidget.swf"/>
<widget label="Dynamic Legend" left="25" top="565"
icon="assets/images/i_legend2.png"
config="widgets/DynamicLegend/DynamicLegendWidget.xml"
url="widgets/DynamicLegend/DynamicLegendWidget.swf"/>
<widget label="Print" left="390" top="400"
icon="assets/images/i_print.png"
config="widgets/Print/PrintWidget.xml"
url="widgets/Print/PrintWidget.swf"/>
<!--
<widget label="My first widget"
icon="assets/images/i_widget.png"
config="widgets/Samples/HelloWorld/HelloWorldWidget.xml"
url="widgets/Samples/HelloWorld/HelloWorldWidget.swf"/>
-->
</widgetcontainer>
</configuration>