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?
Thank you.
I am having the same issue. From what I have found, the widget seems to work if there is a base map specified in the map. However, I do not recall this being the case.