<?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 ApplyEdits returns a response before map is rerendered in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-returns-a-response-before-map-is/m-p/1122921#M75480</link>
    <description>&lt;P&gt;Current implemetation:&lt;/P&gt;&lt;P&gt;We change our popup's location when a feature is updated&amp;nbsp; - new feature data with different x and y coords -. After we apply the updates of the feature with applyEdits we are trying to update the location of the popup (with the new geometry).&lt;/P&gt;&lt;P&gt;But the moment applyEdits returns a response the map is not rerendered yet. How to check when applyEdits have triggered a render action and the map is redrawn.&lt;/P&gt;&lt;P&gt;Thanks id advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Dec 2021 14:19:10 GMT</pubDate>
    <dc:creator>MichaelK1</dc:creator>
    <dc:date>2021-12-06T14:19:10Z</dc:date>
    <item>
      <title>ApplyEdits returns a response before map is rerendered</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-returns-a-response-before-map-is/m-p/1122921#M75480</link>
      <description>&lt;P&gt;Current implemetation:&lt;/P&gt;&lt;P&gt;We change our popup's location when a feature is updated&amp;nbsp; - new feature data with different x and y coords -. After we apply the updates of the feature with applyEdits we are trying to update the location of the popup (with the new geometry).&lt;/P&gt;&lt;P&gt;But the moment applyEdits returns a response the map is not rerendered yet. How to check when applyEdits have triggered a render action and the map is redrawn.&lt;/P&gt;&lt;P&gt;Thanks id advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 14:19:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-returns-a-response-before-map-is/m-p/1122921#M75480</guid>
      <dc:creator>MichaelK1</dc:creator>
      <dc:date>2021-12-06T14:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyEdits returns a response before map is rerendered</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-returns-a-response-before-map-is/m-p/1122936#M75482</link>
      <description>&lt;P&gt;Try watching for the map to finish rendering using&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-core-watchUtils.html" target="_self" rel="nofollow noopener noreferrer"&gt;watchUtils()&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://odoe.net/blog/when-are-layers-done" target="_self" rel="nofollow noopener noreferrer"&gt;Here's some more info.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 15:00:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-returns-a-response-before-map-is/m-p/1122936#M75482</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2021-12-06T15:00:55Z</dc:date>
    </item>
  </channel>
</rss>

