if(idsArray[0] == "") idsArray = null; var excludes:Object ={ name: name, ids: idsArray, isbasemap: false } trace("excludes.name ",excludes.name); trace("excludes.name ",excludes.ids); excludedLayers.addItem(excludes);
Rhett, I guess the only thing you missed is that Doug is not talking about the TOCWidget.
Doug, That is correct, it will still show up in the TOC structure just unchecked. Currently there is no way to just add one layer of a map service as type dynamic and not have all the rest of the layers show up in the TOC.
<excludelayer mapservice="RCC WasteSites">0,2</excludelayer>
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.