<?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: Why Map Layer is slow in JavaScript API Environment? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-map-layer-is-slow-in-javascript-api/m-p/33141#M2685</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An ArcGISDynamicMapServiceLayer uses the images generated by the dynamic map service, while a FeatureLayer draws a separate graphic for each feature. This means that a FeatureLayer has to request the geometry/attributes for each feature, which could be a significant amount of data for the census tract service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't need the additional capability of a FeatureLayer, using a ArcGISDynamicMapServiceLayer will most likely reduce the data payload, and resolve the performance issues you are experiencing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the documentation on the layers:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/arcgisdynamicmapservicelayer-amd.html" title="https://developers.arcgis.com/javascript/jsapi/arcgisdynamicmapservicelayer-amd.html"&gt;https://developers.arcgis.com/javascript/jsapi/arcgisdynamicmapservicelayer-amd.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/featurelayer-amd.html" style="line-height: 1.5;" title="https://developers.arcgis.com/javascript/jsapi/featurelayer-amd.html"&gt;https://developers.arcgis.com/javascript/jsapi/featurelayer-amd.html&lt;/A&gt;&lt;SPAN style="line-height: 1.5;"&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jul 2014 21:00:15 GMT</pubDate>
    <dc:creator>TimHollingshead</dc:creator>
    <dc:date>2014-07-10T21:00:15Z</dc:date>
    <item>
      <title>Why Map Layer is slow in JavaScript API Environment?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-map-layer-is-slow-in-javascript-api/m-p/33140#M2684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="font-style: inherit; font-size: 26px; font-family: inherit;"&gt;&lt;SPAN class="j-post-author" style="font-weight: inherit; font-style: inherit; font-size: 0.9em; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" data-avatarid="1024" data-externalid="" data-presence="null" data-userid="15145" data-username="steven.lzhou" href="https://community.esri.com/people/steven.lzhou" style="padding: 0 3px 0 0; font-weight: inherit; font-style: inherit; font-size: 1.1em; font-family: inherit; color: #287433;"&gt;&lt;BR /&gt;&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;I used JavaScript API to build a web application for our organization.&amp;nbsp; The map layer (census tract which is our own map service) seems displaying in a very slow speed; the SAME map service works fine in our Flex-Viewer based application. My question is: what possible reason could make this happen? For example, in JavaScript API environment the layer is created as ArcGIS Feature layer; while in Flex-Viewer environment the layer is ArcGIS Dynamic layer.&amp;nbsp; Any hint will be helpful for us.&amp;nbsp; Thanks a lot!&lt;/SPAN&gt;&lt;/H1&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 19:36:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-map-layer-is-slow-in-javascript-api/m-p/33140#M2684</guid>
      <dc:creator>LeiZhou</dc:creator>
      <dc:date>2014-07-10T19:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Why Map Layer is slow in JavaScript API Environment?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-map-layer-is-slow-in-javascript-api/m-p/33141#M2685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An ArcGISDynamicMapServiceLayer uses the images generated by the dynamic map service, while a FeatureLayer draws a separate graphic for each feature. This means that a FeatureLayer has to request the geometry/attributes for each feature, which could be a significant amount of data for the census tract service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't need the additional capability of a FeatureLayer, using a ArcGISDynamicMapServiceLayer will most likely reduce the data payload, and resolve the performance issues you are experiencing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the documentation on the layers:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/arcgisdynamicmapservicelayer-amd.html" title="https://developers.arcgis.com/javascript/jsapi/arcgisdynamicmapservicelayer-amd.html"&gt;https://developers.arcgis.com/javascript/jsapi/arcgisdynamicmapservicelayer-amd.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/featurelayer-amd.html" style="line-height: 1.5;" title="https://developers.arcgis.com/javascript/jsapi/featurelayer-amd.html"&gt;https://developers.arcgis.com/javascript/jsapi/featurelayer-amd.html&lt;/A&gt;&lt;SPAN style="line-height: 1.5;"&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 21:00:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-map-layer-is-slow-in-javascript-api/m-p/33141#M2685</guid>
      <dc:creator>TimHollingshead</dc:creator>
      <dc:date>2014-07-10T21:00:15Z</dc:date>
    </item>
  </channel>
</rss>

