<?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: Bug in 4.12 JS API - Circle no longer has radius property in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-in-4-12-js-api-circle-no-longer-has-radius/m-p/455078#M42054</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have logged a bug for this issue:&amp;nbsp;&lt;SPAN style="color: #080707; background-color: #ffffff;"&gt;BUG-000123558&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jul 2019 22:15:57 GMT</pubDate>
    <dc:creator>BenElan</dc:creator>
    <dc:date>2019-07-08T22:15:57Z</dc:date>
    <item>
      <title>Bug in 4.12 JS API - Circle no longer has radius property</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-in-4-12-js-api-circle-no-longer-has-radius/m-p/455074#M42050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At least when using the sketch widget, upon drawing a circle, the object's geometry no longer has a radius property.&amp;nbsp; This was not the case in 4.11 version of the API, where you did have access to the radius property after drawing a circle.&amp;nbsp; Don't know if this is the case with all circle objects in the API....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reproducible&amp;nbsp;@&amp;nbsp;&lt;A href="https://codepen.io/crackernutter/pen/LKrmQb"&gt;https://codepen.io/crackernutter/pen/LKrmQb&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Change codepen API to 4.11 to see the changes....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2019 19:52:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-in-4-12-js-api-circle-no-longer-has-radius/m-p/455074#M42050</guid>
      <dc:creator>Jay_Gregory</dc:creator>
      <dc:date>2019-07-03T19:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in 4.12 JS API - Circle no longer has radius property</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-in-4-12-js-api-circle-no-longer-has-radius/m-p/455075#M42051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Hi Jay,&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;You can still calculate the radius of a circle by accessing the extent's width and dividing by two.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;In your Code Pen example it would be:&amp;nbsp;console.log(evt.item.geometry.extent.width/2);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2019 22:51:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-in-4-12-js-api-circle-no-longer-has-radius/m-p/455075#M42051</guid>
      <dc:creator>BenElan</dc:creator>
      <dc:date>2019-07-05T22:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in 4.12 JS API - Circle no longer has radius property</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-in-4-12-js-api-circle-no-longer-has-radius/m-p/455076#M42052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&amp;nbsp; That is a very good point -&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the benefit of having the radius property is that it is also a handy way to track the the original geometry was a circle in the first place - since arbitrary polygons or rectangles don't have that property.&amp;nbsp; Our users like knowing the radius of their circles, so I'd have to "mark" the graphic as a circle somehow to know that I would need to calculate the radius - otherwise the application would display the radius for other polygons as well.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not a huge deal, but I did like that the property was there in 4.11 - if it's being removed in 4.12 that's fine, I just thought it was a bug &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jul 2019 20:52:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-in-4-12-js-api-circle-no-longer-has-radius/m-p/455076#M42052</guid>
      <dc:creator>Jay_Gregory</dc:creator>
      <dc:date>2019-07-07T20:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in 4.12 JS API - Circle no longer has radius property</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-in-4-12-js-api-circle-no-longer-has-radius/m-p/455077#M42053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I am sure it is a bug and that you need to report this to esri tech support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2019 12:23:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-in-4-12-js-api-circle-no-longer-has-radius/m-p/455077#M42053</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-07-08T12:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in 4.12 JS API - Circle no longer has radius property</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-in-4-12-js-api-circle-no-longer-has-radius/m-p/455078#M42054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have logged a bug for this issue:&amp;nbsp;&lt;SPAN style="color: #080707; background-color: #ffffff;"&gt;BUG-000123558&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2019 22:15:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-in-4-12-js-api-circle-no-longer-has-radius/m-p/455078#M42054</guid>
      <dc:creator>BenElan</dc:creator>
      <dc:date>2019-07-08T22:15:57Z</dc:date>
    </item>
  </channel>
</rss>

