This widget works fine when layers are listed in the TOC as part of a 'dynamic' layer. But when the same layers are listed individually as 'feature' layers, their labels get ignored. Is there a way to remedy this? Thanks very much, Lewis.
<configuration> <labels> <visibilitylabel>Layer Visibility</visibilitylabel> <legendlabel>Show Dynamic Map Legend</legendlabel> <alphatooltip>Select parent map service to set opacity</alphatooltip> <metadatatooltip>Show details</metadatatooltip> <zoomtoextent>Zoom To Layer Extent</zoomtoextent> <expandall>Expand All Layers</expandall> <collapseall>Collapse All Layers</collapseall> <zoomtomakevisible>Zoom To Make Visible</zoomtomakevisible> <generatinglegendmsg>Generating TOC Legend</generatinglegendmsg> </labels> <tocsettings> <expanded>true</expanded> <showdescriptionbutton>true</showdescriptionbutton> <collapselegends>false</collapselegends> </tocsettings> <legendtimeout>60</legendtimeout> <excludelayers > <excludelayer mapservice="Hybrid"></excludelayer> <excludelayer mapservice="Map"></excludelayer> <excludelayer mapservice="Satellite"></excludelayer> <excludelayer mapservice="IDL Test"></excludelayer> <excludelayer mapservice="ETeam"></excludelayer> <excludelayer mapservice="Base"></excludelayer> <!--<excludelayer mapservice="Radar"></excludelayer>--> <excludelayer mapservice="MapIt">6,7</excludelayer> <!-- <excludelayer mapservice="Parcel Data">19,20,21</excludelayer>--> </excludelayers> <excludegraphiclayers>true</excludegraphiclayers> <excludebasemaplayers>true</excludebasemaplayers> </configuration>
Nathan, No I have no idea... All my map services are displayed in the same order as listed in the REST Service directory. The only difference is that I am on ArcGIS Service pack 4 and you are still on 2.
Adi, You can find an explaination to that you are seeing explained here:http://forums.arcgis.com/threads/18453-Table-of-Contents-Legend-Widget-for-FlexViewer-2.x?p=186597&viewfull=1#post186597From there you can figure out what you need to do to change one of the labels but by design there will always be two labels.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.