<?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: Some of features in FeatureLayer disappear in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/some-of-features-in-featurelayer-disappear/m-p/1552614#M85964</link>
    <description>&lt;P&gt;Is it possible to record the a short video of the issue and some code snippets how are you adding the layer to the map?&lt;BR /&gt;&lt;BR /&gt;If I want to guess from the explanation above, it could be that you are re-rendering the layer/mapview when there is some changes state change. For loading a webmap/adding layer, you should do it during the initial load of the component. Eg :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;useEffect(() =&amp;gt; {
    // Init the Map
    // Add Layer to Map
    // Load Map to View
}, []); // Empty array means will only load at the first render&lt;/LI-CODE&gt;</description>
    <pubDate>Sun, 27 Oct 2024 04:25:37 GMT</pubDate>
    <dc:creator>RamaniGanason</dc:creator>
    <dc:date>2024-10-27T04:25:37Z</dc:date>
    <item>
      <title>Some of features in FeatureLayer disappear</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/some-of-features-in-featurelayer-disappear/m-p/1552609#M85963</link>
      <description>&lt;P&gt;I have a FeatureLayer with polylines, and it has very flaky behavior, where some or all of them will intermittently no longer show when I trigger state changes in React on my page (click buttons on page, etc). I tried debugging by checking the souce._items in my FeatureLayer in the chrome console, but wasn't able to see anything strange about the data, and the visible field says "true". Does anyone know what debugging steps I could take/ what attributes in the logged FeatureLayer should I look at? Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 27 Oct 2024 00:24:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/some-of-features-in-featurelayer-disappear/m-p/1552609#M85963</guid>
      <dc:creator>Sparkles</dc:creator>
      <dc:date>2024-10-27T00:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Some of features in FeatureLayer disappear</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/some-of-features-in-featurelayer-disappear/m-p/1552614#M85964</link>
      <description>&lt;P&gt;Is it possible to record the a short video of the issue and some code snippets how are you adding the layer to the map?&lt;BR /&gt;&lt;BR /&gt;If I want to guess from the explanation above, it could be that you are re-rendering the layer/mapview when there is some changes state change. For loading a webmap/adding layer, you should do it during the initial load of the component. Eg :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;useEffect(() =&amp;gt; {
    // Init the Map
    // Add Layer to Map
    // Load Map to View
}, []); // Empty array means will only load at the first render&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 27 Oct 2024 04:25:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/some-of-features-in-featurelayer-disappear/m-p/1552614#M85964</guid>
      <dc:creator>RamaniGanason</dc:creator>
      <dc:date>2024-10-27T04:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Some of features in FeatureLayer disappear</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/some-of-features-in-featurelayer-disappear/m-p/1554846#M86019</link>
      <description>&lt;P&gt;Thanks for the response&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/609443"&gt;@RamaniGanason&lt;/a&gt;&amp;nbsp;! Yeah I do see how the layer is being rerendered when I change state on the rest of the page.&amp;nbsp;I thought however that that wouldn't cause the strange behavior of some of the features intermittently not showing? I thought that it should just cause the layer to rerender (and all features to still display). Are you saying that rerendering the layer could cause that flaky behavior of some features not showing? I am working on a codepen to share. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 20:12:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/some-of-features-in-featurelayer-disappear/m-p/1554846#M86019</guid>
      <dc:creator>Sparkles</dc:creator>
      <dc:date>2024-11-01T20:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Some of features in FeatureLayer disappear</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/some-of-features-in-featurelayer-disappear/m-p/1573230#M86341</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/805390"&gt;@Sparkles&lt;/a&gt;&amp;nbsp;Did you ever resolve this? We're experiencing a similar sounding issue.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 17:12:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/some-of-features-in-featurelayer-disappear/m-p/1573230#M86341</guid>
      <dc:creator>MarkC1</dc:creator>
      <dc:date>2025-01-07T17:12:42Z</dc:date>
    </item>
  </channel>
</rss>

