<?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 does my map load slow using Flex, but not in JavaScript? in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/why-does-my-map-load-slow-using-flex-but-not-in/m-p/234372#M7337</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you look at the service in the Javascript API at Rest, you're viewing the cached service which returns pre-created tiles.&amp;nbsp; A cached service will perform better than a dynamic service, as a cached service is returning pre-created tiles instead of dynamically creating images to send ot the client.&amp;nbsp; In your application, though, it looks like you're adding the feature layer of the cached service to the application, which then forces the application to submit query requests for the data.&amp;nbsp; Why are you adding the feature layer to the application, instead of the whole map service to take advantage of the cache?&amp;nbsp; You can still access the popups for the map service even if it's cached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jul 2015 22:08:07 GMT</pubDate>
    <dc:creator>JonathanQuinn</dc:creator>
    <dc:date>2015-07-10T22:08:07Z</dc:date>
    <item>
      <title>Why does my map load slow using Flex, but not in JavaScript?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/why-does-my-map-load-slow-using-flex-but-not-in/m-p/234371#M7336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a Flex Viewer application that uses the following web service: &lt;A href="http://maps.decaturil.gov/arcgis/rest/services/ActiveCDCases/MapServer" title="http://maps.decaturil.gov/arcgis/rest/services/ActiveCDCases/MapServer"&gt;ActiveCDCases (MapServer)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I click on View in ArcGIS JavaScript, the map loads quickly, but if it is viewed on our site in Flex, it runs slow, but there are no errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our site is at: &lt;A href="http://maps.decaturil.gov/active_cases/" title="http://maps.decaturil.gov/active_cases/"&gt;City Code Violation Database&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, is there a way to add a loading icon while waiting for the data to display?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 21:33:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/why-does-my-map-load-slow-using-flex-but-not-in/m-p/234371#M7336</guid>
      <dc:creator>ChrisSergent</dc:creator>
      <dc:date>2015-07-10T21:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my map load slow using Flex, but not in JavaScript?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/why-does-my-map-load-slow-using-flex-but-not-in/m-p/234372#M7337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you look at the service in the Javascript API at Rest, you're viewing the cached service which returns pre-created tiles.&amp;nbsp; A cached service will perform better than a dynamic service, as a cached service is returning pre-created tiles instead of dynamically creating images to send ot the client.&amp;nbsp; In your application, though, it looks like you're adding the feature layer of the cached service to the application, which then forces the application to submit query requests for the data.&amp;nbsp; Why are you adding the feature layer to the application, instead of the whole map service to take advantage of the cache?&amp;nbsp; You can still access the popups for the map service even if it's cached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 22:08:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/why-does-my-map-load-slow-using-flex-but-not-in/m-p/234372#M7337</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2015-07-10T22:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my map load slow using Flex, but not in JavaScript?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/why-does-my-map-load-slow-using-flex-but-not-in/m-p/234373#M7338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We would still want to query data that displays.Would we be able to do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 22:21:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/why-does-my-map-load-slow-using-flex-but-not-in/m-p/234373#M7338</guid>
      <dc:creator>ChrisSergent</dc:creator>
      <dc:date>2015-07-10T22:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my map load slow using Flex, but not in JavaScript?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/why-does-my-map-load-slow-using-flex-but-not-in/m-p/234374#M7339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you're considering display, but then attribute information.&amp;nbsp; The operational layers is the display, but query and search widgets and popups are separate.&amp;nbsp; You can still &lt;A href="http://maps.decaturil.gov/arcgis/rest/services/ActiveCDCases/MapServer/0/query?where=1%3D1&amp;amp;outFields=*&amp;amp;returnGeometry=false&amp;amp;f=html"&gt;query &lt;/A&gt;the service regardless if it's cached, (as we can also see when you add the feature layer to the map).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 22:28:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/why-does-my-map-load-slow-using-flex-but-not-in/m-p/234374#M7339</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2015-07-10T22:28:32Z</dc:date>
    </item>
  </channel>
</rss>

