<?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 esri/toolbars/draw Arrow bug in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-toolbars-draw-arrow-bug/m-p/425664#M39138</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a bug with the ARROW tool in the Draw toolbar. If you draw an arrow straight up or down (rotation 0 or 180),&amp;nbsp;a division by zero occurs and you end up with geometry rings containing null/NaN values in the coordinates, resulting in a malformed polygon that extends from your point of origin to the prime meridian.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A workaround would be to check the geometry for null/NaN values before putting the graphic on the map. JS greasemonkeys out there can probably patch this on the prototype, but a fix from ESRI would be nice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Mar 2020 22:33:35 GMT</pubDate>
    <dc:creator>CJWood</dc:creator>
    <dc:date>2020-03-27T22:33:35Z</dc:date>
    <item>
      <title>esri/toolbars/draw Arrow bug</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-toolbars-draw-arrow-bug/m-p/425664#M39138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a bug with the ARROW tool in the Draw toolbar. If you draw an arrow straight up or down (rotation 0 or 180),&amp;nbsp;a division by zero occurs and you end up with geometry rings containing null/NaN values in the coordinates, resulting in a malformed polygon that extends from your point of origin to the prime meridian.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A workaround would be to check the geometry for null/NaN values before putting the graphic on the map. JS greasemonkeys out there can probably patch this on the prototype, but a fix from ESRI would be nice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2020 22:33:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-toolbars-draw-arrow-bug/m-p/425664#M39138</guid>
      <dc:creator>CJWood</dc:creator>
      <dc:date>2020-03-27T22:33:35Z</dc:date>
    </item>
  </channel>
</rss>

