<?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 Alternate solution for ON_DEMAND mode (which was supported in ArcGIS API for JavaScript version-3.x) in ArcGIS API for JavaScript version-4.x in ArcGIS Server with JavaScript API Questions</title>
    <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/alternate-solution-for-on-demand-mode-which-was/m-p/804699#M299</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In our map-based application, currently we are using ArcGIS API for JavaScript version-4.x along with Angular 2.&lt;BR /&gt;Also, we have an ArcGIS Server (Version 10.x) on which MAP REST APIs are hosted. The application fetches data from these Map REST APIs.&lt;/P&gt;&lt;P&gt;The problem that we are facing is, when we fetch the information from the ArcGIS server for GLOBAL Base Layer, US State Layer and US County Layer - the response payload size is in MBs, so it's taking lot of time to render the layers.&lt;/P&gt;&lt;P&gt;e.g. for the US State Layer - Response Payload is around 11.40 MB and it takes around 15-20 seconds to render the layer.&lt;/P&gt;&lt;P&gt;In the previous version of the application, we were using ArcGIS API for JavaScript version-3.x and hence were able to use the mode ON_DEMAND for loading the feature layer information.&lt;BR /&gt;However, we figured from the Functionality Matrix that ON_DEMAND mode for feature layer is not planned for 4.x.&lt;/P&gt;&lt;P&gt;We can not go back to ArcGIS version-3.x, because we need the Map Sync Functionality which is supported in 4.x version.&lt;/P&gt;&lt;P&gt;So, is there any alternate solution to reduce the response-payload size or any better approach/pointers to achieve this.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;BR /&gt;Ketaki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Apr 2018 20:22:04 GMT</pubDate>
    <dc:creator>KetakiPujari</dc:creator>
    <dc:date>2018-04-05T20:22:04Z</dc:date>
    <item>
      <title>Alternate solution for ON_DEMAND mode (which was supported in ArcGIS API for JavaScript version-3.x) in ArcGIS API for JavaScript version-4.x</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/alternate-solution-for-on-demand-mode-which-was/m-p/804699#M299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In our map-based application, currently we are using ArcGIS API for JavaScript version-4.x along with Angular 2.&lt;BR /&gt;Also, we have an ArcGIS Server (Version 10.x) on which MAP REST APIs are hosted. The application fetches data from these Map REST APIs.&lt;/P&gt;&lt;P&gt;The problem that we are facing is, when we fetch the information from the ArcGIS server for GLOBAL Base Layer, US State Layer and US County Layer - the response payload size is in MBs, so it's taking lot of time to render the layers.&lt;/P&gt;&lt;P&gt;e.g. for the US State Layer - Response Payload is around 11.40 MB and it takes around 15-20 seconds to render the layer.&lt;/P&gt;&lt;P&gt;In the previous version of the application, we were using ArcGIS API for JavaScript version-3.x and hence were able to use the mode ON_DEMAND for loading the feature layer information.&lt;BR /&gt;However, we figured from the Functionality Matrix that ON_DEMAND mode for feature layer is not planned for 4.x.&lt;/P&gt;&lt;P&gt;We can not go back to ArcGIS version-3.x, because we need the Map Sync Functionality which is supported in 4.x version.&lt;/P&gt;&lt;P&gt;So, is there any alternate solution to reduce the response-payload size or any better approach/pointers to achieve this.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;BR /&gt;Ketaki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 20:22:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/alternate-solution-for-on-demand-mode-which-was/m-p/804699#M299</guid>
      <dc:creator>KetakiPujari</dc:creator>
      <dc:date>2018-04-05T20:22:04Z</dc:date>
    </item>
  </channel>
</rss>

