<?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 Features NVZ takes more time to load on map in ArcGIS Server with JavaScript API Questions</title>
    <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/features-nvz-takes-more-time-to-load-on-map/m-p/840819#M534</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI&gt;I am fetching data from&amp;nbsp;&lt;A class="link-titled" href="https://environment.data.gov.uk/arcgis/rest/services/EA/NitrateVulnerableZones2017Final/FeatureServer/0" title="https://environment.data.gov.uk/arcgis/rest/services/EA/NitrateVulnerableZones2017Final/FeatureServer/0"&gt;Layer: NVZ_2017_Combined_Waters_Final_Designations (ID: 0)&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;I am using arcgis javascript api 4.14 version&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;If I zoom in the map on zoom level 6 then only this NVZ features are displaying on map, but its taking more time to load on map.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my code:&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;var map;&lt;BR /&gt; require([&lt;BR /&gt; "esri/widgets/Sketch",&lt;BR /&gt; "esri/Map",&lt;BR /&gt; "esri/layers/GraphicsLayer",&lt;BR /&gt; "esri/views/MapView",&lt;BR /&gt; "esri/geometry/Polygon",&lt;BR /&gt; "esri/layers/FeatureLayer",&lt;BR /&gt; "esri/symbols/SimpleLineSymbol",&lt;BR /&gt; "esri/Graphic",&lt;BR /&gt; "esri/symbols/SimpleFillSymbol",&lt;BR /&gt; "esri/Color"&lt;BR /&gt; ],&lt;BR /&gt; function(Sketch, Map, GraphicsLayer, MapView, Polygon, FeatureLayer, SimpleLineSymbol, Graphic, SimpleFillSymbol, Color) {&lt;BR /&gt; const layer = new GraphicsLayer();&lt;BR /&gt; const map = new Map({&lt;BR /&gt; basemap: "streets",&lt;BR /&gt; layers: [layer]&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;const view = new MapView({&lt;BR /&gt; container: "map",&lt;BR /&gt; map: map,&lt;BR /&gt; zoom: 5,&lt;BR /&gt; center: [-3.118092, 54.509865]&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;// set dynamic url for feature layer&lt;BR /&gt; function initOperationalLayer() {&lt;BR /&gt; var featureLayer = new&amp;nbsp; FeatureLayer("https://environment.data.gov.uk/arcgis/rest/services/EA/NitrateVulnerableZones2017Final/FeatureServer/0",{&lt;BR /&gt; mode: FeatureLayer.MODE_ONDEMAND,&lt;BR /&gt; map.add(featureLayer);&lt;BR /&gt; }&lt;BR /&gt; initOperationalLayer();&lt;BR /&gt; });&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Please see this screen shots:&amp;nbsp;&lt;IMG __jive_id="481985" alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/481985_arcgis_nvz.PNG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Feb 2020 11:27:48 GMT</pubDate>
    <dc:creator>ShivamMishra2</dc:creator>
    <dc:date>2020-02-12T11:27:48Z</dc:date>
    <item>
      <title>Features NVZ takes more time to load on map</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/features-nvz-takes-more-time-to-load-on-map/m-p/840819#M534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI&gt;I am fetching data from&amp;nbsp;&lt;A class="link-titled" href="https://environment.data.gov.uk/arcgis/rest/services/EA/NitrateVulnerableZones2017Final/FeatureServer/0" title="https://environment.data.gov.uk/arcgis/rest/services/EA/NitrateVulnerableZones2017Final/FeatureServer/0"&gt;Layer: NVZ_2017_Combined_Waters_Final_Designations (ID: 0)&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;I am using arcgis javascript api 4.14 version&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;If I zoom in the map on zoom level 6 then only this NVZ features are displaying on map, but its taking more time to load on map.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my code:&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;var map;&lt;BR /&gt; require([&lt;BR /&gt; "esri/widgets/Sketch",&lt;BR /&gt; "esri/Map",&lt;BR /&gt; "esri/layers/GraphicsLayer",&lt;BR /&gt; "esri/views/MapView",&lt;BR /&gt; "esri/geometry/Polygon",&lt;BR /&gt; "esri/layers/FeatureLayer",&lt;BR /&gt; "esri/symbols/SimpleLineSymbol",&lt;BR /&gt; "esri/Graphic",&lt;BR /&gt; "esri/symbols/SimpleFillSymbol",&lt;BR /&gt; "esri/Color"&lt;BR /&gt; ],&lt;BR /&gt; function(Sketch, Map, GraphicsLayer, MapView, Polygon, FeatureLayer, SimpleLineSymbol, Graphic, SimpleFillSymbol, Color) {&lt;BR /&gt; const layer = new GraphicsLayer();&lt;BR /&gt; const map = new Map({&lt;BR /&gt; basemap: "streets",&lt;BR /&gt; layers: [layer]&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;const view = new MapView({&lt;BR /&gt; container: "map",&lt;BR /&gt; map: map,&lt;BR /&gt; zoom: 5,&lt;BR /&gt; center: [-3.118092, 54.509865]&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;// set dynamic url for feature layer&lt;BR /&gt; function initOperationalLayer() {&lt;BR /&gt; var featureLayer = new&amp;nbsp; FeatureLayer("https://environment.data.gov.uk/arcgis/rest/services/EA/NitrateVulnerableZones2017Final/FeatureServer/0",{&lt;BR /&gt; mode: FeatureLayer.MODE_ONDEMAND,&lt;BR /&gt; map.add(featureLayer);&lt;BR /&gt; }&lt;BR /&gt; initOperationalLayer();&lt;BR /&gt; });&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Please see this screen shots:&amp;nbsp;&lt;IMG __jive_id="481985" alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/481985_arcgis_nvz.PNG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2020 11:27:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/features-nvz-takes-more-time-to-load-on-map/m-p/840819#M534</guid>
      <dc:creator>ShivamMishra2</dc:creator>
      <dc:date>2020-02-12T11:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Features NVZ takes more time to load on map</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/features-nvz-takes-more-time-to-load-on-map/m-p/840820#M535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can set the visibility of your layer by this.&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GraphicsLayer.html#minScale"&gt;min Scale&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2020 14:02:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/features-nvz-takes-more-time-to-load-on-map/m-p/840820#M535</guid>
      <dc:creator>irtizahussain</dc:creator>
      <dc:date>2020-02-12T14:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Features NVZ takes more time to load on map</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/features-nvz-takes-more-time-to-load-on-map/m-p/840821#M536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;I set the min Scale and its working.&lt;/P&gt;&lt;P&gt;But I have one issue that I mentioned in the previous question that it takes more time to load.&lt;/P&gt;&lt;P&gt;I have attached the video:&lt;/P&gt;&lt;P&gt;Here is the link:&amp;nbsp;&lt;A href="https://drive.google.com/file/d/1eWNKUI4fYISKE9D7oQl9Fi6AasQJkP5T/view"&gt;Untitled: Feb 13, 2020 11:15 AM.webm - Google Drive&amp;nbsp;&lt;/A&gt;&lt;IFRAME src="https://drive.google.com/file/d/1eWNKUI4fYISKE9D7oQl9Fi6AasQJkP5T/preview" width="100%" height="100%"&gt;&lt;/IFRAME&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2020 06:01:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/features-nvz-takes-more-time-to-load-on-map/m-p/840821#M536</guid>
      <dc:creator>ShivamMishra2</dc:creator>
      <dc:date>2020-02-13T06:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Features NVZ takes more time to load on map</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/features-nvz-takes-more-time-to-load-on-map/m-p/840822#M537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please provide me the solution for this loading issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2020 11:43:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/features-nvz-takes-more-time-to-load-on-map/m-p/840822#M537</guid>
      <dc:creator>ShivamMishra2</dc:creator>
      <dc:date>2020-02-27T11:43:52Z</dc:date>
    </item>
  </channel>
</rss>

