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; }
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.