AnsweredAssumed Answered

DirectLineMeasurement3D - Events

Question asked by gasparovic on May 22, 2018
Latest reply on May 25, 2018 by RNicola-esristaff



I don't seem to be able to find any usable events for this widget, for example, are there any events like:

-  OnMeasureStart

-  OnMeasureEnd  

(or similar)?


Are there any methods that would allow me to partially control the widget? I know there is "clearMeasurement()", but what I'm after is:

 - startMeasurement (something like letting the widget know that now it's time to attach the view click listeners)

 - stopMeasurement (cancelling if it's started, detach any listeners) ?


Is there a way how can I force this widget to cancel and stop measuring without actually having to destroy the widget? ClearMeasurement() method will reset the widget, but it still expects the input.


No offense, but if there is nothing like that then the widget is useless for the developers who wants to reuse the widget but incorporate few more extra logic on top of it, or just simply make it to listen to the UI of their own application. (I'd like to have my own custom tool instructions for example) and I'd love to also know when the widget actually stopped drawing etc.


Thank you for all your help.