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; }
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.