var layerArray:Array = new Array(); var mapLyrs:Array = map.layerIds.sort(); for(var i:Number = 0; i <= map.layerIds.length-1; i++) { var layer:Layer = map.getLayer(mapLyrs); }
<operationallayers> <layer label="LAYERNAME" type="feature" visible="false" alpha="1" url="http://url/to/layer/rest/service"/> </operationallayers>
<layer label="NOAA Services" type="dynamic" visible="false" alpha="0.5" url="http://publicsafetytemplates.esri.com/ArcGIS/rest/services/EMCOP/PublicSafetyFeedSample/MapServer"/>
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.