<?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 Tired of arbitrary circles/arrows/triangles/ellipses/rectangles from a single click? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tired-of-arbitrary-circles-arrows-triangles/m-p/761217#M70551</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The circle/arrow/triangle/ellispe/rectangle/extent tools will all drop a shape from a single click.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To work around this behavior,&amp;nbsp;in&amp;nbsp;your event handler for draw-complete,&amp;nbsp;do not add the graphic to your map if&amp;nbsp;event.target._dragged is false.&amp;nbsp;For safety, make sure to check the draw tool beforehand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does not fix the problem on touch-enabled devices. I have not gotten around to remote debugging mobile devices.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Mar 2020 22:59:23 GMT</pubDate>
    <dc:creator>CJWood</dc:creator>
    <dc:date>2020-03-27T22:59:23Z</dc:date>
    <item>
      <title>Tired of arbitrary circles/arrows/triangles/ellipses/rectangles from a single click?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tired-of-arbitrary-circles-arrows-triangles/m-p/761217#M70551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The circle/arrow/triangle/ellispe/rectangle/extent tools will all drop a shape from a single click.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To work around this behavior,&amp;nbsp;in&amp;nbsp;your event handler for draw-complete,&amp;nbsp;do not add the graphic to your map if&amp;nbsp;event.target._dragged is false.&amp;nbsp;For safety, make sure to check the draw tool beforehand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does not fix the problem on touch-enabled devices. I have not gotten around to remote debugging mobile devices.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2020 22:59:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tired-of-arbitrary-circles-arrows-triangles/m-p/761217#M70551</guid>
      <dc:creator>CJWood</dc:creator>
      <dc:date>2020-03-27T22:59:23Z</dc:date>
    </item>
  </channel>
</rss>

