<?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 Why is the &amp;quot;draw-complete&amp;quot; event on the PointDrawAction so slow? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-the-quot-draw-complete-quot-event-on-the/m-p/160804#M15001</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to allow users of my site to add a point using the&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-draw-Draw.html"&gt;Draw&lt;/A&gt;&amp;nbsp;tool.&amp;nbsp; When trying to add a point, I have noticed that the "draw-complete" event is firing about 250 milliseconds - second behind the native document event&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;document.getElementById("viewDiv").onclick&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a simple jsbin that shows the delay:&lt;/P&gt;&lt;P&gt;&lt;A href="https://jsbin.com/piwerepivo/edit?html,console,output"&gt;jsbin&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a GIF showing the problem that I am seeing.&amp;nbsp; My clicks are highlighted in yellow.&amp;nbsp; As you can see, it takes a fair bit of time for the&amp;nbsp;"draw-complete" event to fire.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="449711" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/449711_pastedImage_1.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Jun 2019 17:58:11 GMT</pubDate>
    <dc:creator>JackFairfield</dc:creator>
    <dc:date>2019-06-05T17:58:11Z</dc:date>
    <item>
      <title>Why is the "draw-complete" event on the PointDrawAction so slow?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-the-quot-draw-complete-quot-event-on-the/m-p/160804#M15001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to allow users of my site to add a point using the&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-draw-Draw.html"&gt;Draw&lt;/A&gt;&amp;nbsp;tool.&amp;nbsp; When trying to add a point, I have noticed that the "draw-complete" event is firing about 250 milliseconds - second behind the native document event&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;document.getElementById("viewDiv").onclick&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a simple jsbin that shows the delay:&lt;/P&gt;&lt;P&gt;&lt;A href="https://jsbin.com/piwerepivo/edit?html,console,output"&gt;jsbin&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a GIF showing the problem that I am seeing.&amp;nbsp; My clicks are highlighted in yellow.&amp;nbsp; As you can see, it takes a fair bit of time for the&amp;nbsp;"draw-complete" event to fire.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="449711" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/449711_pastedImage_1.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2019 17:58:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-the-quot-draw-complete-quot-event-on-the/m-p/160804#M15001</guid>
      <dc:creator>JackFairfield</dc:creator>
      <dc:date>2019-06-05T17:58:11Z</dc:date>
    </item>
  </channel>
</rss>

