if (basemapLyr) continue; var layer:Layer = map.getLayer(map.layerIds); if(!(layer is GraphicsLayer)) if(layer.id == "the name of your first layer" || layer.id == "the name of your second layer") layers.addItem(layer); } return layers; }
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.