I am using the compiled TOC widget from Robert. I want to exclude some layers from displaying in the TOC, not the map. The information is needed, but to reduce the confusion for the user, they only need to see certain features in the TOC. Any suggestion?
<?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>/FlexViewer/License.txt // //////////////////////////////////////////////////////////////////////////////// --> <configuration> <labels> <visibilitylabel>Layer Visibility</visibilitylabel> <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>false</expanded> <collapselegends>false</collapselegends> </tocsettings> <legendtimeout>60</legendtimeout> <excludelayers> <excludelayer mapservice="Basemap Features">21,29,30,31,32,33,34,35,36,37,38,39,40,42,43,44</excludelayer> <excludelayer mapservice="Assessor Information">3,5</excludelayer> <excludelayer mapservice="Annexations"></excludelayer> </excludelayers> <excludegraphiclayers>true</excludegraphiclayers> <excludebasemaplayers>true</excludebasemaplayers> <usenewesridescription>false</usenewesridescription> </configuration>
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.