<?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: LabelClass not working when Layer is filtered in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labelclass-not-working-when-layer-is-filtered/m-p/109638#M10188</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;&lt;SPAN style="background-color: #ffffff;"&gt;At this time, it is an expected behavior. 4.x labeling engine checks if labels are on exact same spots and keeps one for performance reasons. This behavior is on our radar and we will be enhancing the labels engine to count for scenarios like this one.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;You could add an another layer with no fill and controlling the labels there.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;-Undral&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Apr 2020 18:35:02 GMT</pubDate>
    <dc:creator>UndralBatsukh</dc:creator>
    <dc:date>2020-04-10T18:35:02Z</dc:date>
    <item>
      <title>LabelClass not working when Layer is filtered</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labelclass-not-working-when-layer-is-filtered/m-p/109637#M10187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;I'm working with 4.14 version of JavaScript API, but apparently, LabelClass is not working as expected. I have a widget that filters out features from a layer based on its status. In the illustration, I have overlapping points. Filtering works. However, labels for filtered features are not showing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how I filter:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" height="194" src="https://community.esri.com/legacyfs/online/488188_pastedImage_2.png" width="300" /&gt;&lt;/P&gt;&lt;P&gt;This is my labelClass:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" height="301" src="https://community.esri.com/legacyfs/online/488219_pastedImage_3.png" width="244" /&gt;&lt;/P&gt;&lt;P&gt;This is how I set the labelingInfo:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" height="276" src="https://community.esri.com/legacyfs/online/488220_pastedImage_4.png" width="348" /&gt;&lt;/P&gt;&lt;P&gt;This is the result:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image" height="218" src="https://community.esri.com/legacyfs/online/488187_featureFilter.png" width="414" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope someone can help me with this. Thank you.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2020 11:14:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labelclass-not-working-when-layer-is-filtered/m-p/109637#M10187</guid>
      <dc:creator>AldwinGregorio</dc:creator>
      <dc:date>2020-04-10T11:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: LabelClass not working when Layer is filtered</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labelclass-not-working-when-layer-is-filtered/m-p/109638#M10188</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;&lt;SPAN style="background-color: #ffffff;"&gt;At this time, it is an expected behavior. 4.x labeling engine checks if labels are on exact same spots and keeps one for performance reasons. This behavior is on our radar and we will be enhancing the labels engine to count for scenarios like this one.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;You could add an another layer with no fill and controlling the labels there.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;-Undral&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2020 18:35:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labelclass-not-working-when-layer-is-filtered/m-p/109638#M10188</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2020-04-10T18:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: LabelClass not working when Layer is filtered</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labelclass-not-working-when-layer-is-filtered/m-p/109639#M10189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Undral, with another layer, you mean a duplicate of my geojsonLayer with filter expression? Or a graphicsLayer? It will show in my layerlist though.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Apr 2020 01:57:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labelclass-not-working-when-layer-is-filtered/m-p/109639#M10189</guid>
      <dc:creator>AldwinGregorio</dc:creator>
      <dc:date>2020-04-11T01:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: LabelClass not working when Layer is filtered</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labelclass-not-working-when-layer-is-filtered/m-p/1042940#M72328</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;Can you please test your app with JS API version 4.18? Is it working as expected?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Undral&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 16:02:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labelclass-not-working-when-layer-is-filtered/m-p/1042940#M72328</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2021-04-01T16:02:13Z</dc:date>
    </item>
  </channel>
</rss>

