AnsweredAssumed Answered

api 4.11 - How to draw a ellipse? class' "draw.create('ellipse')" doesn't draw ellipse

Question asked by devesh37 on Aug 8, 2019
Latest reply on Nov 10, 2019 by devesh37

am trying to draw ellipse using arcgis JS PI 4.11. but it seems there is no way to do it. In api 3.X user can draw ellipse interactivity on the map. we are migrating from 3.X to 4.11 Api and it seems implementation for ellipse is still not done in 4.11.


Code simplified for the example:
const action = draw.create('ellipse', {});

action.on('vertex-add', (evt) => this.createellipseGraphic(evt));
action.on('cursor-update', (evt) => this.createellipseGraphic(evt));
action.on('draw-complete', (evt) => this.createellipseGraphic(evt));


function createellipseGraphic(event) {;

   const ellipse = new Polygon({      spatialReference: mapView.spatialReference,
     center: event.vertices[0],

   const graphic = new Graphic({
      geometry: ellipse,
      symbol: // my symbol,


Can anyone help in by provide the guidance, workaround  or ellipse code in 4.X api.