How to reach 'measure-start', 'measure-end' events?

807
1
05-10-2021 05:33 AM
nidaaktan
New Contributor II

Hi,

I'm trying to find the 'measure-start', 'measure-end' events that the new measurement widgets can have.

For example;

measurement.on('measure-start', function (event) {
console.log(event);
});

But It doesn't work that way.

 

0 Kudos
1 Reply
KenBuja
MVP Esteemed Contributor

The 4.x Measure widget doesn't have events. Take a look at this post:

https://community.esri.com/t5/arcgis-api-for-javascript/possible-events-for-new-measurement-widgets-...