Those buttons are dojo dijits. You can access them by measurement.area, measurement.distance and measurement.location. If you need to connect to the onClick event. Here is the code snippet. var measurement = new esri.dijit.Measurement({ map: map }, dojo.byId('measurementDiv')); measurement.startup(); dojo.connect(measurement.area, "onClick", function(){console.log("hello");});
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.