dojo.connect(kml, 'onLoad', function() { var layers = kml.getLayers(); var graphics = layers[0].graphics; dojo.forEach(graphics, function(graphic){ var json = {title:"${name}",content:"${description}"} infoTemplate = new esri.InfoTemplate(json); graphic.setInfoTemplate(json); }); });
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.