// hide other layers dojo.forEach(map.layerIds, function(id) { map.getLayer(id).hide(); });
// hide all feature layers dojo.forEach(map.graphicsLayerIds, function(id) { var layer = map.getLayer(id); if (layer.declaredClass === "esri.layers.FeatureLayer") { layer.hide(); } });
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.