Select to view content in your preferred language

Intersection between Polylines

09-03-2020 09:48 AM
New Contributor II


I would like to know how to get the following behavior of the intersect() method inside the geometryEngine component of ArcGIS JS 4.16 (How Intersect works—Help | ArcGIS for Desktop ).

I have 2 geometries of the type Polyline and when I use the method intersect() of geometryEngine (geometryEngine | ArcGIS API for JavaScript 4.16 ), it returns null, even though others methods like crosses() and intersects() return true.

The following post seems similar to my question, but the solution doesn't apply to my case, since the intersect() method in version 4.16 API only accepts two arguments and not 3 like it uses in the code given ( ).


Have a good one! 

0 Kudos
0 Replies