<?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: Refresh MapImageLayer JS API 4.5 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/refresh-mapimagelayer-js-api-4-5/m-p/622236#M58118</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Most layers now can be refreshed in &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html"&gt;2D MapViews&lt;/A&gt; by setting &lt;CODE&gt;refreshInterval&lt;/CODE&gt; property or by calling &lt;CODE&gt;refresh()&lt;/CODE&gt; method on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/guide/release-notes/index.html#layer-refreshing" title="https://developers.arcgis.com/javascript/latest/guide/release-notes/index.html#layer-refreshing"&gt;Release notes for 4.6 | ArcGIS API for JavaScript 4.6&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Dec 2017 21:10:57 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2017-12-14T21:10:57Z</dc:date>
    <item>
      <title>Refresh MapImageLayer JS API 4.5</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/refresh-mapimagelayer-js-api-4-5/m-p/622232#M58114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a MapImageLayer with a point sublayer that I insert data outside the API, mt problem is that the newly inserted data is not refreshed until I move the map, how to refresh te MapImageLayer to reflect the changes made outside the API?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 09:54:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/refresh-mapimagelayer-js-api-4-5/m-p/622232#M58114</guid>
      <dc:creator>RodrigoFelga</dc:creator>
      <dc:date>2017-11-01T09:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh MapImageLayer JS API 4.5</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/refresh-mapimagelayer-js-api-4-5/m-p/622233#M58115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rodrigo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Since there is no such thing as view.reresh or layer refresh or any other method I can find to force a referesh you will have to use a workaround like view.goto. The best way to do this is to get the current view center and add 1 to the X or Y and use view goto with that new point coordinates. This will force a refresh and have minimal effect on the maps extent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 12:33:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/refresh-mapimagelayer-js-api-4-5/m-p/622233#M58115</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-11-01T12:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh MapImageLayer JS API 4.5</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/refresh-mapimagelayer-js-api-4-5/m-p/622234#M58116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was having a similar problem and fixed it like this:&amp;nbsp;&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;view&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;extent &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; view&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;extent&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Robert's solution definitely works too, but just wanted to share this if anyone else is having this issue.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 21:20:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/refresh-mapimagelayer-js-api-4-5/m-p/622234#M58116</guid>
      <dc:creator>AndrewLindley</dc:creator>
      <dc:date>2017-11-06T21:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh MapImageLayer JS API 4.5</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/refresh-mapimagelayer-js-api-4-5/m-p/622235#M58117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a quick update:&lt;/P&gt;&lt;P&gt;The above method of setting view.extent = view.extent has been unreliable for me, so I'm&amp;nbsp;using &lt;A href="https://community.esri.com/migrated-users/3101"&gt;Robert&lt;/A&gt;'s suggested method now as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2017 23:20:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/refresh-mapimagelayer-js-api-4-5/m-p/622235#M58117</guid>
      <dc:creator>AndrewLindley</dc:creator>
      <dc:date>2017-11-13T23:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh MapImageLayer JS API 4.5</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/refresh-mapimagelayer-js-api-4-5/m-p/622236#M58118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Most layers now can be refreshed in &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html"&gt;2D MapViews&lt;/A&gt; by setting &lt;CODE&gt;refreshInterval&lt;/CODE&gt; property or by calling &lt;CODE&gt;refresh()&lt;/CODE&gt; method on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/guide/release-notes/index.html#layer-refreshing" title="https://developers.arcgis.com/javascript/latest/guide/release-notes/index.html#layer-refreshing"&gt;Release notes for 4.6 | ArcGIS API for JavaScript 4.6&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 21:10:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/refresh-mapimagelayer-js-api-4-5/m-p/622236#M58118</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2017-12-14T21:10:57Z</dc:date>
    </item>
  </channel>
</rss>

