<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: api 4.11 - How to draw a ellipse? class' &amp;quot;draw.create('ellipse')&amp;quot; doesn't draw ellipse  in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-4-11-how-to-draw-a-ellipse-class-quot-draw/m-p/395279#M36468</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Answered here:&amp;nbsp;&lt;A href="https://community.esri.com/thread/238317-api-411-how-to-draw-a-ellipse-class-drawcreateellipse-doesnt-draw-ellipse"&gt;https://community.esri.com/thread/238317-api-411-how-to-draw-a-ellipse-class-drawcreateellipse-doesnt-draw-ellipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Aug 2019 15:24:39 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2019-08-09T15:24:39Z</dc:date>
    <item>
      <title>api 4.11 - How to draw a ellipse? class' "draw.create('ellipse')" doesn't draw ellipse</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-4-11-how-to-draw-a-ellipse-class-quot-draw/m-p/395277#M36466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I 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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H6 style="background-color: #ffffff; border: 0px; font-weight: 600; font-size: 13px;" id="toc-hId-895619071"&gt;Code simplified for the example:&lt;/H6&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;const action = draw.create('&lt;SPAN&gt;ellipse&lt;/SPAN&gt;', {});

action.on('vertex-add', (evt) =&amp;gt; this.create&lt;SPAN&gt;ellipse&lt;/SPAN&gt;Graphic(evt));
action.on('cursor-update', (evt) =&amp;gt; this.create&lt;SPAN&gt;ellipse&lt;/SPAN&gt;Graphic(evt));
action.on('draw-complete', (evt) =&amp;gt; this.create&lt;SPAN&gt;ellipse&lt;/SPAN&gt;Graphic(evt));&lt;/PRE&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;and&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;function create&lt;SPAN&gt;ellipse&lt;/SPAN&gt;Graphic(event) {&amp;nbsp;&amp;nbsp; mapView.graphics.removeAll();

&amp;nbsp;&amp;nbsp;&amp;nbsp;const &lt;SPAN&gt;ellipse&lt;/SPAN&gt; = new Polygon({&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; spatialReference: mapView.spatialReference,
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; center: event.vertices[0],
&amp;nbsp;&amp;nbsp; });

&amp;nbsp;&amp;nbsp; const graphic = new Graphic({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; geometry: ellipse,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; symbol: // my symbol,
&amp;nbsp;&amp;nbsp; });

&amp;nbsp;&amp;nbsp; mapView.graphics.add(graphic);
}&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help in by provide the guidance, workaround&amp;nbsp; or ellipse code in 4.X api.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:06:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-4-11-how-to-draw-a-ellipse-class-quot-draw/m-p/395277#M36466</guid>
      <dc:creator>GISMentor</dc:creator>
      <dc:date>2021-12-11T18:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: api 4.11 - How to draw a ellipse? class' "draw.create('ellipse')" doesn't draw ellipse</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-4-11-how-to-draw-a-ellipse-class-quot-draw/m-p/395278#M36467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;Any help??&lt;/P&gt;&lt;P&gt;It is a urgent requirement .&lt;/P&gt;&lt;P&gt;Kindly give a direction....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2019 04:20:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-4-11-how-to-draw-a-ellipse-class-quot-draw/m-p/395278#M36467</guid>
      <dc:creator>GISMentor</dc:creator>
      <dc:date>2019-08-05T04:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: api 4.11 - How to draw a ellipse? class' "draw.create('ellipse')" doesn't draw ellipse</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-4-11-how-to-draw-a-ellipse-class-quot-draw/m-p/395279#M36468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Answered here:&amp;nbsp;&lt;A href="https://community.esri.com/thread/238317-api-411-how-to-draw-a-ellipse-class-drawcreateellipse-doesnt-draw-ellipse"&gt;https://community.esri.com/thread/238317-api-411-how-to-draw-a-ellipse-class-drawcreateellipse-doesnt-draw-ellipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2019 15:24:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-4-11-how-to-draw-a-ellipse-class-quot-draw/m-p/395279#M36468</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-08-09T15:24:39Z</dc:date>
    </item>
  </channel>
</rss>

