<?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: How to Disable Snapshot Mode in 3D Scenes! in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-disable-snapshot-mode-in-3d-scenes/m-p/1278136#M80854</link>
    <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Hi &lt;/SPAN&gt;&lt;SPAN class=""&gt;again!&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;We've managed to include the update to honor &lt;FONT face="andale mono,times" color="#808080"&gt;'featurelayer-snapshot-disabled':0&lt;/FONT&gt;&amp;nbsp;in &lt;FONT face="andale mono,times" color="#808080"&gt;SceneView&lt;/FONT&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;in the upcoming release of the API (version 4.27). With this, the&amp;nbsp;&lt;SPAN&gt;&lt;FONT face="andale mono,times" color="#808080"&gt;where1=1&lt;/FONT&gt; call shouldn't happen anymore.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;You can test this fix out before it heads to production – for that, check out the &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://github.com/Esri/feedback-js-api-next" target="_blank" rel="noreferrer noopener"&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;development version&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; of the API, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://js.arcgis.com/next" target="_blank" rel="noreferrer noopener"&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;https://js.arcgis.com/next&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Let us know if you have any feedback - and thanks for pointing out this issue with big data sets!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Apr 2023 07:30:39 GMT</pubDate>
    <dc:creator>GreteSoosalu</dc:creator>
    <dc:date>2023-04-13T07:30:39Z</dc:date>
    <item>
      <title>How to Disable Snapshot Mode in 3D Scenes!</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-disable-snapshot-mode-in-3d-scenes/m-p/1276061#M80775</link>
      <description>&lt;P&gt;I want to disable 'snapshot mode' in my SceneView. As described and discussed in this &lt;A href="https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/fix-4-2x-so-that-initial-requests-for-large-layers/idi-p/1136691" target="_self"&gt;Ideas Post, "Fix 4.2x so that initial requests for large layers are faster"&lt;/A&gt;&amp;nbsp;and in these Questions (&lt;A href="https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-4-2x-now-much-slower-to-fetch-and-draw/td-p/1136687" target="_self"&gt;Post 1&lt;/A&gt;, &lt;A href="https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/enterprise-point-featurelayers-in-4-20/td-p/1134127" target="_self"&gt;Post 2&lt;/A&gt;), the feature can really slow down the loading of large MapService layers. For a MapView (2D) the workaround posted in the links is to configure:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;'featurelayer-snapshot-disabled':0 &lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-4-2x-now-much-slower-to-fetch-and-draw/m-p/1137229/highlight/true#M76096" target="_self"&gt;See here.&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But now I need to do that in a SceneView because I seem to be having the same issue there. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here's a simple &lt;A href="https://codepen.io/ryansutc/pen/mdzdPLG?editors=1010" target="_self"&gt;CodePen of it working for a MapView&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here's a &lt;A href="https://codepen.io/ryansutc/pen/dygyMed" target="_self"&gt;copied CodePen of same thing failing for a SceneView&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;H5&gt;&lt;STRONG&gt;&lt;SPAN&gt;To Test: &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/H5&gt;&lt;P&gt;&lt;SPAN&gt;Although the effects aren't that significant for this sample data above, you can see that in the sceneView you will still get requests with `returnCountTrue` param which are the snapshot feature requests if you open your browser DevTools to the network pane and watch traffic.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Is there a 3D equivalent of&amp;nbsp;&lt;SPAN&gt;'featurelayer-snapshot-disabled':0? Help!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 03:41:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-disable-snapshot-mode-in-3d-scenes/m-p/1276061#M80775</guid>
      <dc:creator>RyanSutcliffe</dc:creator>
      <dc:date>2023-04-06T03:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to Disable Snapshot Mode in 3D Scenes!</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-disable-snapshot-mode-in-3d-scenes/m-p/1276159#M80783</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/6031"&gt;@RyanSutcliffe&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For such datasets, SceneView doesn't use the snapshot mode - it automatically uses tiles instead (as you can see in your app, the data is loaded incrementally). Note that SceneView still uses `&lt;SPAN&gt;returnCountTrue`&amp;nbsp; and the features are counted per tile.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Does this answer your question? If not, could you please describe a bit what you are experiencing and what you expect from the app?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 13:47:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-disable-snapshot-mode-in-3d-scenes/m-p/1276159#M80783</guid>
      <dc:creator>GreteSoosalu</dc:creator>
      <dc:date>2023-04-06T13:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to Disable Snapshot Mode in 3D Scenes!</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-disable-snapshot-mode-in-3d-scenes/m-p/1276194#M80784</link>
      <description>&lt;P&gt;Thanks for your prompt response.&lt;BR /&gt;The problem is that these request for the count of features take really long-- as I've described in the linked posts. This prevents the layers from loading in a SceneView the same as it did in our MapView. In 2D, disabling "snapshot mode" allowed those layers to continue to work because these types of requests were no longer made. I would like to do the same in a SceneView.&amp;nbsp;&lt;BR /&gt;Perhaps disabling these calls to 'returnCountOnly' is not possible? I know that in a SceneView, there are parameters like&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#maximumNumberOfFeatures" target="_self"&gt;&lt;SPAN&gt;maximumNumberOfFeatures&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;that are applied to LayerViews.&amp;nbsp;&lt;BR /&gt;More Detail:&lt;BR /&gt;When I load the sceneView, I see two different types of calls for returnCountOnly for each layer: there is first one for the total layer count (where1=1). Subsequent to that, there is calls for the count within a specific area (tile). I think it is the first that are the problematic ones.&amp;nbsp;&lt;BR /&gt;I will do some sandbox testing to check further. If you can clarify that disabling these calls for returnCountOnly are not able to be disabled for SceneView and perhaps provide a bit of guidance why that would probably answer this question.&amp;nbsp; I might open different ones to explore other ways to deal with this problem as I test more.&lt;/P&gt;&lt;P&gt;Since I can't share our own large MapService layers, I'll probably start by pursuing the question/issue further with ESRI Canada technical support.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 15:21:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-disable-snapshot-mode-in-3d-scenes/m-p/1276194#M80784</guid>
      <dc:creator>RyanSutcliffe</dc:creator>
      <dc:date>2023-04-06T15:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to Disable Snapshot Mode in 3D Scenes!</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-disable-snapshot-mode-in-3d-scenes/m-p/1277417#M80832</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, currently it is not possible to disable the calls for returnCountOnly for SceneView and there is no other workaround we can suggest you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We're looking into improving that in the future.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 16:39:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-disable-snapshot-mode-in-3d-scenes/m-p/1277417#M80832</guid>
      <dc:creator>GreteSoosalu</dc:creator>
      <dc:date>2023-04-11T16:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to Disable Snapshot Mode in 3D Scenes!</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-disable-snapshot-mode-in-3d-scenes/m-p/1278136#M80854</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Hi &lt;/SPAN&gt;&lt;SPAN class=""&gt;again!&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;We've managed to include the update to honor &lt;FONT face="andale mono,times" color="#808080"&gt;'featurelayer-snapshot-disabled':0&lt;/FONT&gt;&amp;nbsp;in &lt;FONT face="andale mono,times" color="#808080"&gt;SceneView&lt;/FONT&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;in the upcoming release of the API (version 4.27). With this, the&amp;nbsp;&lt;SPAN&gt;&lt;FONT face="andale mono,times" color="#808080"&gt;where1=1&lt;/FONT&gt; call shouldn't happen anymore.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;You can test this fix out before it heads to production – for that, check out the &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://github.com/Esri/feedback-js-api-next" target="_blank" rel="noreferrer noopener"&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;development version&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; of the API, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://js.arcgis.com/next" target="_blank" rel="noreferrer noopener"&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;https://js.arcgis.com/next&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Let us know if you have any feedback - and thanks for pointing out this issue with big data sets!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 07:30:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-disable-snapshot-mode-in-3d-scenes/m-p/1278136#M80854</guid>
      <dc:creator>GreteSoosalu</dc:creator>
      <dc:date>2023-04-13T07:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to Disable Snapshot Mode in 3D Scenes!</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-disable-snapshot-mode-in-3d-scenes/m-p/1278986#M80890</link>
      <description>&lt;P&gt;Thanks for the update. I just tested our app with the next version of the &lt;STRIKE&gt;ArcGIS JavaScript API&lt;/STRIKE&gt; ArcGIS Maps SDK and it works! Thank you for the fix. Look forward to the upcoming release of 4.27.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 23:19:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-disable-snapshot-mode-in-3d-scenes/m-p/1278986#M80890</guid>
      <dc:creator>RyanSutcliffe</dc:creator>
      <dc:date>2023-04-14T23:19:36Z</dc:date>
    </item>
  </channel>
</rss>

