<?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: FeatureLayer Load is Slow in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-load-is-slow/m-p/629460#M14008</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: vandrunenan&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the geometric complexity of the features you are trying to load? With FeatureLayers, you are pulling all of that spatial data (within the map extent) over the wire to get the features to draw. As well, if you are using JSON (as opposed to AMF, which is only in AGS 10), the parsing of the data is particularly slow. Generalizing the spatial data is one approach that could help speed things up.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 May 2011 16:58:51 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2011-05-10T16:58:51Z</dc:date>
    <item>
      <title>FeatureLayer Load is Slow</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-load-is-slow/m-p/629459#M14007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: ereed&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am adding polygon and line map tips to my application, using FeatureLayer. It works, but the two feature layers are taking a long time (30 seconds each) to load. The tiled and dynamic layer load fairly quick, but then everything freezes while the two feature layers load. Once loaded, everything works great. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Anybody have any idea how to spped this up?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;esri:FeatureLayer id="livemap2_A"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; graphicAdd="graphicAddHandler(event)" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; mode="onDemand" useAMF="false" useHandCursor="false" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; outFields="[siteid,sitename,catid]" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt; url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://xxx/ArcGIS/rest/services/xxx/MapServer/1" rel="nofollow" target="_blank"&gt;http://xxx/ArcGIS/rest/services/xxx/MapServer/1&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;esri:symbol&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;esri:SimpleFillSymbol style="solid" alpha="0.0" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/esri:symbol&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/esri:FeatureLayer&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;public function graphicAddHandler(event:GraphicEvent):void&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; var graphic:Graphic = event.graphic;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; graphic.addEventListener(MouseEvent.ROLL_OVER, rollOverHandler);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; graphic.addEventListener(MouseEvent.ROLL_OUT, rollOutHandler);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;private function rollOverHandler(event:MouseEvent):void&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; const graphic:Graphic = event.target as Graphic;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; myMap.infoWindow.styleName="InfoSymbolContainer1"; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; myMap.infoWindow.show(myMap.toMapFromStage(event.stageX, event.stageY));&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;private function rollOutHandler(event:MouseEvent):void&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; const graphic:Graphic = event.target as Graphic;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; if (graphic)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myMap.infoWindow.hide();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2011 13:59:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-load-is-slow/m-p/629459#M14007</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-05-05T13:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer Load is Slow</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-load-is-slow/m-p/629460#M14008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: vandrunenan&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the geometric complexity of the features you are trying to load? With FeatureLayers, you are pulling all of that spatial data (within the map extent) over the wire to get the features to draw. As well, if you are using JSON (as opposed to AMF, which is only in AGS 10), the parsing of the data is particularly slow. Generalizing the spatial data is one approach that could help speed things up.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2011 16:58:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-load-is-slow/m-p/629460#M14008</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-05-10T16:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer Load is Slow</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-load-is-slow/m-p/629461#M14009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We had the same problem. Parsing polygon geometries takes a lot of time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1 - We do not show map tips at all scales - for example in map full extent (scale 4000000) we have about 10000 features - its not possible quickly load and parse all geometries from server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;featureLayer.minScale = 100000;
featureLayer.maxScale = 0;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2 - By default we do not turn map tips on. We have toolbar, where client can turn on map tips for selected layers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:47:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-load-is-slow/m-p/629461#M14009</guid>
      <dc:creator>IvanBespalov</dc:creator>
      <dc:date>2021-12-12T02:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer Load is Slow</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-load-is-slow/m-p/629462#M14010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: odoe&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We had similar issues with polygons and verifying we had spatial indexes in SDE helped. You'll also see some improvement if you are able to move to AGS 10 and set useAMF=true.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2011 14:45:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-load-is-slow/m-p/629462#M14010</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-05-11T14:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer Load is Slow</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-load-is-slow/m-p/629463#M14011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Generalizing the features may help as well &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://blogs.esri.com/Dev/blogs/arcgisserver/archive/2011/06/13/Feature-layers-can-generalize-geometries-on-the-fly.aspx?utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;utm_campaign=Feed%3A+ArcgisServerDevelopmentBlog+%28ArcGIS+Server+Development+Blog%29"&gt;http://blogs.esri.com/Dev/blogs/arcgisserver/archive/2011/06/13/Feature-layers-can-generalize-geometries-on-the-fly.aspx?utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;utm_campaign=Feed%3A+ArcgisServerDevelopmentBlog+%28ArcGIS+Server+Development+Blog%29&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2011 19:28:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-load-is-slow/m-p/629463#M14011</guid>
      <dc:creator>HaroldBostic</dc:creator>
      <dc:date>2011-06-19T19:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer Load is Slow</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-load-is-slow/m-p/629464#M14012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: AnastasiaAourik&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My featurelayer load is slow (on javascript api) ok on silverlight api...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In javascript api, I am messing with minScale to try and have the layer NOT draw but it always seems to be drawing...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I even try &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; featureLayer.minScale = 1;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;which should certainly not draw...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you tell me what I should do.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 19:50:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-load-is-slow/m-p/629464#M14012</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-06-15T19:50:15Z</dc:date>
    </item>
  </channel>
</rss>

