function removeMe() { map.removeLayer(referenceLayer); map.removeLayer(basemap); }
function removeMe() { map.removeAllLayers(); }
function removeMe() { var count = map.layerIds.length; var array = []; for(var i=0;i<count;i++) { array = map.layerIds; } for(var j=0; j<count; j++){ var layer = map.getLayer(array); map.removeLayer(layer); } }
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.