<?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: Issue with JS API 4.11 ImageryLayer redraw() in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-js-api-4-11-imagerylayer-redraw/m-p/110315#M10247</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have verified that it is a bug in the API. Thank you for bringing this issue to our attention. We will get it fixed as soon as possible.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Jun 2019 18:54:05 GMT</pubDate>
    <dc:creator>UndralBatsukh</dc:creator>
    <dc:date>2019-06-07T18:54:05Z</dc:date>
    <item>
      <title>Issue with JS API 4.11 ImageryLayer redraw()</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-js-api-4-11-imagerylayer-redraw/m-p/110314#M10246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Hi,&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I've been using the Javascript 4.11 API and one of the primary use cases is to consume images from an ImageServer and perform client side filtering. This is a very similar use case in the v3 API sample (3), and has been previously implemented. The updated application is now using the Javascript 4.11 API and&amp;nbsp;I found that the ImageryLayer redraw() function doesn't update the canvas with the newly filtered data (it does in fact run the pixelfilter). This has been causing quite a bit of grief as it is a core requirement and we also need to avoid caching of the images (as they're time enabled and update very often).&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I've linked to a minimal example showing this issue in (1), just download the pastebin and open the html. It's based off the Javascript 4 pixelfilter example, but&amp;nbsp;extended to match our use case and the v3 api's sample more closely.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I suspect either there is a simple fix to this I'm missing, or is it a bug in the API. Hopefully someone here can clarify.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;1) Minimal Example showing issue&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;A class="" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fpastebin.com%2FFs0WFWzd" rel="nofollow" style="color: #287433; border: 0px; font-weight: inherit; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://pastebin.com/Fs0WFWzd&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;2) Base Sample from Javascript API 4&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;A class="" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdevelopers.arcgis.com%2Fjavascript%2Flatest%2Fsample-code%2Flayers-imagery-pixelvalues%2Findex.html" rel="nofollow" style="color: #287433; border: 0px; font-weight: inherit; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/sample-code/layers-imagery-pixelvalues/index.html&lt;/A&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;3) Similar Use case in Javascript API 3&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;A class="" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdevelopers.arcgis.com%2Fjavascript%2F3%2Fsamples%2Flayers_raster%2F" rel="nofollow" style="color: #287433; border: 0px; font-weight: inherit; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://developers.arcgis.com/javascript/3/samples/layers_raster/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Thankyou in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2019 01:08:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-js-api-4-11-imagerylayer-redraw/m-p/110314#M10246</guid>
      <dc:creator>MatthewLangley</dc:creator>
      <dc:date>2019-06-05T01:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with JS API 4.11 ImageryLayer redraw()</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-js-api-4-11-imagerylayer-redraw/m-p/110315#M10247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have verified that it is a bug in the API. Thank you for bringing this issue to our attention. We will get it fixed as soon as possible.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 18:54:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-js-api-4-11-imagerylayer-redraw/m-p/110315#M10247</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2019-06-07T18:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with JS API 4.11 ImageryLayer redraw()</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-js-api-4-11-imagerylayer-redraw/m-p/110316#M10248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This issue will be fixed at JS API version 4.12 which will be released beginning of July.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2019 17:06:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-js-api-4-11-imagerylayer-redraw/m-p/110316#M10248</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2019-06-18T17:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with JS API 4.11 ImageryLayer redraw()</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-js-api-4-11-imagerylayer-redraw/m-p/110317#M10249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...for 4.11, this is the workaround I've previously used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;//layer.redraw();&lt;/SPAN&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;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:37:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-js-api-4-11-imagerylayer-redraw/m-p/110317#M10249</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2021-12-11T06:37:21Z</dc:date>
    </item>
  </channel>
</rss>

