<?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: Legend is updated incorrectly in 4.16 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-is-updated-incorrectly-in-4-16/m-p/1022159#M71571</link>
    <description>&lt;P&gt;Hi Kimberly,&amp;nbsp;&lt;/P&gt;&lt;P&gt;it looks like the issue remains in the version 4.18. Will it be included in the 4.19?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Mon, 01 Feb 2021 16:26:53 GMT</pubDate>
    <dc:creator>MichailMarinakis1</dc:creator>
    <dc:date>2021-02-01T16:26:53Z</dc:date>
    <item>
      <title>Legend is updated incorrectly in 4.16</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-is-updated-incorrectly-in-4-16/m-p/253677#M23491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;Hi,&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;I have a custom layer/legend that uses a separate legend widget for the sublayers in each MapImageLayer. This has worked correctly up through 4.15 but stopped working in 4.16. In 4.16 it initializes correctly but as soon as there is a visibility change the legend images are incorrectly updated.&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;Image 1 shows the correctly initialized layer/legends and Image 2 shows what happens after turning off the “K1 Mountains” sublayer in the first MapImageService. Note the first legend widget correctly removes K1, and correctly maintains the title of the remaining sublayer K1 Mountain Classes BUT the legend is now incorrect (i.e. it shows the K2 Classes legend).&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;Does anyone know of a 4.16 legend change that could be causing this? Are application-based renderers now required? I’ve been using the symbology established in the actual map service rather than creating renderers in the application, could that be causing the problem?&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;Thanks in advance!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2020 23:25:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-is-updated-incorrectly-in-4-16/m-p/253677#M23491</guid>
      <dc:creator>JillCress</dc:creator>
      <dc:date>2020-07-27T23:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Legend is updated incorrectly in 4.16</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-is-updated-incorrectly-in-4-16/m-p/253678#M23492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I fixed this by adding client side renderers into my application for all of my sublayers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure why it worked without renderers in 4.15 but at least now it's working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2020 21:39:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-is-updated-incorrectly-in-4-16/m-p/253678#M23492</guid>
      <dc:creator>JillCress</dc:creator>
      <dc:date>2020-07-29T21:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Legend is updated incorrectly in 4.16</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-is-updated-incorrectly-in-4-16/m-p/253679#M23493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Please see also&amp;nbsp;&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.esri.com/message/960347-wrong-symbology-in-417-legend-widget" style="color: #2989c5; text-decoration: none;"&gt;this thread&lt;/A&gt;&lt;SPAN&gt;. I also observed this happening in 4.16, but didn't investigate until after upgrading to 4.17.&amp;nbsp; I'm fairly certain it's the same problem though.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2020 20:11:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-is-updated-incorrectly-in-4-16/m-p/253679#M23493</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2020-10-21T20:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Legend is updated incorrectly in 4.16</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-is-updated-incorrectly-in-4-16/m-p/1013660#M71274</link>
      <description>&lt;P&gt;&lt;SPAN&gt;There is a bug logged for this issue in the ArcGIS API for JavaScript 4.15-4.17. It has been fixed for the API version 4.18 of which you can currently test the pre-release by updating the version to 4.18 in your application's html.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 18:14:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-is-updated-incorrectly-in-4-16/m-p/1013660#M71274</guid>
      <dc:creator>KimberlySaballett</dc:creator>
      <dc:date>2021-01-04T18:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Legend is updated incorrectly in 4.16</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-is-updated-incorrectly-in-4-16/m-p/1022159#M71571</link>
      <description>&lt;P&gt;Hi Kimberly,&amp;nbsp;&lt;/P&gt;&lt;P&gt;it looks like the issue remains in the version 4.18. Will it be included in the 4.19?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 16:26:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-is-updated-incorrectly-in-4-16/m-p/1022159#M71571</guid>
      <dc:creator>MichailMarinakis1</dc:creator>
      <dc:date>2021-02-01T16:26:53Z</dc:date>
    </item>
  </channel>
</rss>

