Measurement Widget "measure" event change in v3.16

3216
11
Jump to solution
03-14-2016 01:04 PM
JasonBerry
Emerging Contributor

In version 3.15, I have a working measure event to fire a measurement each time the user single-clicks while using the tool.  With the change to 3.16, this event now fires when the mouse is moved, which causes problems with the way we are measuring.

Does anyone know what event to call in the updated version for each time the map is single clicked while using the tool?

11 Replies
JasonBerry
Emerging Contributor

I'm wondering if there is a way to disable the "segment length" when you are measuring area, so it doesn't give those odd results.

0 Kudos
TomSellsted
MVP Regular Contributor

Jason,

I have updated the example to ignore the other measure types.  It will only provide the segment lengths when measuring a line. 

Measure Tool

Regards,

Tom