In ArcGIS Maps SDK for JavaScript, the geometryEngine.isSimple() method only returns true when a polyline or polygon geometry intersects or overlaps with itself.
ArcGIS Maps SDK for JavaScript
漏洞 ID 编号
BUG-000169206
已提交
July 17, 2024
上次修改时间
April 21, 2025
适用范围
ArcGIS Maps SDK for JavaScript
找到的版本
4.30
操作系统
Windows OS
操作系统版本
10.0 64 Bit
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
Both GeometryEngine.isSimple() and Polgyon.isSelfIntersecting methods will be deprecated soon. These methods will be replaced with new geometry operators. These are tentatively scheduled for release in ArcGIS Maps SDK for JavaScript 4.31 (Q4 2024). Watch the feedback-next repos CHANGELOG for updates: https://github.com/Esri/feedback-js-api-next/blob/main/CHANGELOG.md
The new geometry operator tested successfully against the workflow described in this issue.
解决办法
Use the Core API's new geometry operators when they become available.