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; }
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.