I've been searching for a way to draw a portion of a circle on the map. For example, if you want to portray where someone is looking - they are at coordinates X, Y; looking northeast; with a field of view of 90 degrees.
Thanks in advance!
Circle is drawn on the map. It can be moved and resized after it is created. Please take a look atet drawBufferPolygon function in particular.
I recently did something similar using the JS API CIMSymbol. Here's a simple CodePen showing the concept: https://codepen.io/john-grayson/pen/dyVjomE