<?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 ArcGIS API 4.17 FeatureLayer does not draw in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-4-17-featurelayer-does-not-draw/m-p/82611#M7522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I am using a sublayer as a FeatureLayer to perform some advanced labeling. The code already works in 4.16 (and all previous releases), but as of 4.17, the layer no longer draws at all. I get no console errors or network traffic that indicates any issues.&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;If I start removing properties, like the definitionExpression, labelingInfo and renderer, the layer will draw, but after a few seconds, it disappears. Afterwards, it behaves very oddly where it might draw a few features only or none at all. Again, I get no console errors or network errors that would indicate any issues. I've tried this in Chrome and Edge so far.&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;Environment:&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;esri-loader&amp;nbsp;2.16.0 (loading arcgis api 4.17)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;Angular 10&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Oct 2020 14:53:04 GMT</pubDate>
    <dc:creator>ScottSteigerwald1</dc:creator>
    <dc:date>2020-10-29T14:53:04Z</dc:date>
    <item>
      <title>ArcGIS API 4.17 FeatureLayer does not draw</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-4-17-featurelayer-does-not-draw/m-p/82611#M7522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I am using a sublayer as a FeatureLayer to perform some advanced labeling. The code already works in 4.16 (and all previous releases), but as of 4.17, the layer no longer draws at all. I get no console errors or network traffic that indicates any issues.&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;If I start removing properties, like the definitionExpression, labelingInfo and renderer, the layer will draw, but after a few seconds, it disappears. Afterwards, it behaves very oddly where it might draw a few features only or none at all. Again, I get no console errors or network errors that would indicate any issues. I've tried this in Chrome and Edge so far.&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;Environment:&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;esri-loader&amp;nbsp;2.16.0 (loading arcgis api 4.17)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;Angular 10&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 14:53:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-4-17-featurelayer-does-not-draw/m-p/82611#M7522</guid>
      <dc:creator>ScottSteigerwald1</dc:creator>
      <dc:date>2020-10-29T14:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS API 4.17 FeatureLayer does not draw</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-4-17-featurelayer-does-not-draw/m-p/82612#M7523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide a repro sample to test this out please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 15:09:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-4-17-featurelayer-does-not-draw/m-p/82612#M7523</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2020-10-29T15:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS API 4.17 FeatureLayer does not draw</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-4-17-featurelayer-does-not-draw/m-p/82613#M7524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My code is pretty simple for adding the FeatureLayer, this code is within a function. We than add the layer to the map immediately after:&lt;/P&gt;&lt;P&gt;const layer = new esri.FeatureLayer(&lt;BR /&gt; {&lt;BR /&gt;id: labelData.layerId + '-' + sublayer.id,&lt;BR /&gt; url: url + '/' + sublayer.id,&lt;BR /&gt; title: labelData.labelName,&lt;BR /&gt; legendEnabled: false,&lt;BR /&gt; visible: labelData.visible,&lt;BR /&gt; // definitionExpression: defExp,&lt;BR /&gt; // labelingInfo: this.createLabelClass(labelData, sublayer.attributes),&lt;BR /&gt; // renderer: {&lt;BR /&gt; // type: 'simple',&lt;BR /&gt; // symbol: this.getSymbol(labelData.geometryType)&lt;BR /&gt; // }&lt;BR /&gt; }&lt;BR /&gt; );&lt;/P&gt;&lt;P&gt;return layer;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, I get absolutely no console errors or messages. This screenshot is from 4.16:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/512091_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;And this is 4.17:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/512092_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code is exactly the same and has always worked until 4.17.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 18:54:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-4-17-featurelayer-does-not-draw/m-p/82613#M7524</guid>
      <dc:creator>ScottSteigerwald1</dc:creator>
      <dc:date>2020-10-29T18:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS API 4.17 FeatureLayer does not draw</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-4-17-featurelayer-does-not-draw/m-p/1001105#M70803</link>
      <description>&lt;P&gt;..&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2020 06:44:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-4-17-featurelayer-does-not-draw/m-p/1001105#M70803</guid>
      <dc:creator>KavishGhime3</dc:creator>
      <dc:date>2020-11-13T06:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS API 4.17 FeatureLayer does not draw</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-4-17-featurelayer-does-not-draw/m-p/1001244#M70809</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/412931"&gt;@KavishGhime3&lt;/a&gt;. For some odd reason, I don't see your reply to me here, but I can see it in my email.&lt;/P&gt;&lt;P&gt;To answer some questions; my layer is a sublayer of a mapimageservice, not a featureserver. I have used some sample apps to replicate. In pure JavaScript, it works fine, but with the esri-loader, it does not work when a definitionExpression is applied.&lt;/P&gt;&lt;P&gt;So, basically I've narrowed it down to a sublayer from a mapimageservice used with the esri-loader when a definitionExpression is applied. I am working with ESRI Premium Support and others to see if this issue is on my end or in the esri-loader.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2020 15:58:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-4-17-featurelayer-does-not-draw/m-p/1001244#M70809</guid>
      <dc:creator>ScottSteigerwald1</dc:creator>
      <dc:date>2020-11-13T15:58:19Z</dc:date>
    </item>
  </channel>
</rss>

