AnsweredAssumed Answered

ArcGIS javascript API: Issue with Measurement widget (esri/dijit/Measurement)?

Question asked by pwlim_22 on Jan 11, 2016
Latest reply on Jul 21, 2016 by ipeebles

Hello all,

 

I was trying out the sample for the Measurement widget via the sandbox:

ArcGIS API for JavaScript Sandbox

 

I find that after selecting one of the measurements in the widget, and you proceed to double-click on the map in quick succession, errors such as one of the following might be logged intermittently:

Uncaught TypeError: Cannot set property 'geometry' of null

Cannot read property '0' of undefined

 

The actual test steps are:

1. Browse to ArcGIS API for JavaScript Sandbox

2. Select either Area or Distance from the widget

3. Point to a location on the map and do a fast double click.

 

Screenshot from one of the occurrence is attached below.

 

Is this a known issue with the Measurement widget?

 

measurementwidget_issue.png

 

Thank you.

Outcomes