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");});
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.