laptop and a wrench

Bug

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
Bug ID Number BUG-000169206
SubmittedJuly 17, 2024
Last ModifiedApril 21, 2025
Applies toArcGIS Maps SDK for JavaScript
Version found4.30
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusWill Not Be Addressed

Additional Information

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.

Workaround

Use the Core API's new geometry operators when they become available.

Steps to Reproduce

Bug ID: BUG-000169206

Software:

  • ArcGIS Maps SDK 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