kmlUrl = 'http://www.hpc.ncep.noaa.gov/kml/qpf/QPF6hr_f00-f06_latest.kml'; kml = new esri.layers.KMLLayer(kmlUrl); map.addLayer(kml); dojo.connect(kml, 'onLoad', function(kl) { alert('kml loaded. folder[1].name is: ' + kl.folders[1].name); });
map.getLayer(map.graphicsLayerIds[0]).graphics[0].attributes.name
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.