"Draw non-intersecting line" sample double points with the same value in the array of points when a polyline is drawn.
上次发布: February 2, 2018ArcGIS API for JavaScript
漏洞 ID 编号
BUG-000109701
已提交
November 21, 2017
上次修改时间
June 5, 2024
适用范围
ArcGIS API for JavaScript
找到的版本
4.5
操作系统
Windows OS
操作系统版本
8.1
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
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.