How to draw a curve in ArcGIS JSAPI given a start point, bearing, radius and arc length

01-27-2022 08:58 AM
New Contributor II

Hello Friends,

I am trying to draw a curved segment given start point, bearing, radius and arc length. This functionality is present in ArcGIS Pro Traverse widget, looking to implement the same using ArcGIS JSAPI. Any direction on this is much appreciated, Thanks.



0 Kudos
1 Reply
Occasional Contributor II

I don't think the Javascript API has a 'curve' object, or capacity to draw one through a widget, but maybe you can draw one using Javascript and then use it as feature geometry.

Here are 2 concept pages I found: 

Bezier curve (

Ooh, and this GitHub library looks like it has potential: 

And be safe out there by always copying links into Notepad first.  There are now web sites that use Javascript to change the link you thought you had with a malicious one.


0 Kudos