<?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 Minimizing feature layer redraw in Web Appbuilder Developer Edition in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/minimizing-feature-layer-redraw-in-web-appbuilder/m-p/549514#M51180</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Web Appbuilder Dev Edition 2.11 to consume a webmap from ArcGIS Portal/Enterprise 10.6.1. The webmap contains a feature service feature layer with a fair number of vertices in its geometry, to the point that it takes a few seconds to load. This would not be problematic if the app just accessed the feature layer on the server on the speified refresh interval.&amp;nbsp; But it essentially re-accesses and redraws the layer with every pan and zoom. In the webmap I was able to set the feature layer mode to SNAPSHOT mode which prevents it from reloading the entire data set every time a user pans and zooms when using the portal webmap viewer. When I consume this map in Web AppBuilder however the map no longer seems to honor the SNAPSHOT mode setting. What are the options, if any, to prevent Web Appbuilder from making a call back to the server for the entire data set every time the map is panned or zoomed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen in the JSAPI that there is an an option to specify the mode for when adding a layer to a map with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;mode: FeatureLayer.MODE_SNAPSHOT

&lt;/PRE&gt;&lt;/PRE&gt;&lt;P&gt;But since WAB is loading the layer as part of the preconfigured webmap, I don't see where in the WAB code I can specify that option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 23:46:39 GMT</pubDate>
    <dc:creator>JackCibor</dc:creator>
    <dc:date>2021-12-11T23:46:39Z</dc:date>
    <item>
      <title>Minimizing feature layer redraw in Web Appbuilder Developer Edition</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/minimizing-feature-layer-redraw-in-web-appbuilder/m-p/549514#M51180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Web Appbuilder Dev Edition 2.11 to consume a webmap from ArcGIS Portal/Enterprise 10.6.1. The webmap contains a feature service feature layer with a fair number of vertices in its geometry, to the point that it takes a few seconds to load. This would not be problematic if the app just accessed the feature layer on the server on the speified refresh interval.&amp;nbsp; But it essentially re-accesses and redraws the layer with every pan and zoom. In the webmap I was able to set the feature layer mode to SNAPSHOT mode which prevents it from reloading the entire data set every time a user pans and zooms when using the portal webmap viewer. When I consume this map in Web AppBuilder however the map no longer seems to honor the SNAPSHOT mode setting. What are the options, if any, to prevent Web Appbuilder from making a call back to the server for the entire data set every time the map is panned or zoomed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen in the JSAPI that there is an an option to specify the mode for when adding a layer to a map with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;mode: FeatureLayer.MODE_SNAPSHOT

&lt;/PRE&gt;&lt;/PRE&gt;&lt;P&gt;But since WAB is loading the layer as part of the preconfigured webmap, I don't see where in the WAB code I can specify that option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:46:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/minimizing-feature-layer-redraw-in-web-appbuilder/m-p/549514#M51180</guid>
      <dc:creator>JackCibor</dc:creator>
      <dc:date>2021-12-11T23:46:39Z</dc:date>
    </item>
  </channel>
</rss>

