laptop and a wrench

Bug

"Draw non-intersecting line" sample double points with the same value in the array of points when a polyline is drawn.

Last Published: February 2, 2018 ArcGIS API for JavaScript
Bug ID Number BUG-000109701
SubmittedNovember 21, 2017
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found4.5
Operating SystemWindows OS
Operating System Version8.1
StatusWill Not Be Addressed

Additional Information

This is by design. Clicking initially, users may notice two vertices were added, this is because the cursor-move and vertex-add are both being recognized. They both contain vertices info. The vertices is an array of vertexes that get added as each vertex is clicked. For example, the first mouse-click registers the vertex-add event. This event contains a vertexIndex = 0 and an array of vertices. The next mouse-click calls the vertex-add event and contains a vertexIndex = 1 with an array of vertices. These vertices contain the x/y coords from vertexIndex = 0 in addition to the new ones that were added with this new index.

Steps to Reproduce

Bug ID: BUG-000109701

Software:

  • ArcGIS API for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options