Hi!
I need to create an ellipse from center point of the ellispe, x axis, y axis and azimuth(rotation).
As far as I know there is no support for ellipse shapes or creating it in Arcgis jsapi4.
Is there anyway can I create it?
What I've tried so far :
Solved! Go to Solution.
I've found a sulotion from this link - https://stackoverflow.com/questions/13157880/google-maps-draw-ellipse-based-off-4-coordinates
In this link the code is using google maps api, so I'm posting here alomst the same code, but with esri geometry engine functions instead of google maps api functions.
Credit for the original code and calculations:Mike Williams.
https://jsfiddle.net/guysh/3897psdg/47/
I've found a sulotion from this link - https://stackoverflow.com/questions/13157880/google-maps-draw-ellipse-based-off-4-coordinates
In this link the code is using google maps api, so I'm posting here alomst the same code, but with esri geometry engine functions instead of google maps api functions.
Credit for the original code and calculations:Mike Williams.
https://jsfiddle.net/guysh/3897psdg/47/