<?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: how to implement a &amp;quot;Loading&amp;quot; message after a layer is checked in the TOC in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-implement-a-amp-quot-loading-amp-quot/m-p/258238#M7886</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ashley,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I would recommend this one instead:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/9585-MapProgressBar-widget-for-SFV-2.0"&gt;http://forums.arcgis.com/threads/9585-MapProgressBar-widget-for-SFV-2.0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But it still need changes to make it work with tiled map services and custom LODs as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;lt;widget horizontalcenter="0" verticalcenter="0" url="widgets/MapProgressBar/MapProgressBarWidget.swf"/&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the widget will all the necessary changes:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 May 2012 23:40:35 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2012-05-10T23:40:35Z</dc:date>
    <item>
      <title>how to implement a &amp;quot;Loading&amp;quot; message after a layer is checked in the TOC</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-implement-a-amp-quot-loading-amp-quot/m-p/258234#M7882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know how to implement a "Loading" message within a widget to inform the user the widget is processing.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to have a similar "Loading" message after a layer is checked in the TOC and before the layer loads?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 13:27:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-implement-a-amp-quot-loading-amp-quot/m-p/258234#M7882</guid>
      <dc:creator>AshleyOwens</dc:creator>
      <dc:date>2012-05-10T13:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement a "Loading" message after a layer is checked in the TOC</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-implement-a-amp-quot-loading-amp-quot/m-p/258235#M7883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I know how to implement a "Loading" message within a widget to inform the user the widget is processing.&amp;nbsp; &lt;BR /&gt;Is there a way to have a similar "Loading" message after a layer is checked in the TOC and before the layer loads?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There's a loading widget in the gallery that shows the progress bar when the basemap is being rendered and when layers are being rendered.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 17:00:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-implement-a-amp-quot-loading-amp-quot/m-p/258235#M7883</guid>
      <dc:creator>MLowry</dc:creator>
      <dc:date>2012-05-10T17:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement a "Loading" message after a layer is checked in the TOC</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-implement-a-amp-quot-loading-amp-quot/m-p/258236#M7884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;There's a loading widget in the gallery that shows the progress bar when the basemap is being rendered and when layers are being rendered.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The progress bar widget (&lt;/SPAN&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=acc90fd144904f2eb3bca757967b1f83"&gt;http://www.arcgis.com/home/item.html?id=acc90fd144904f2eb3bca757967b1f83&lt;/A&gt;&lt;SPAN&gt;) is available that does what you are looking for....however, I have found one issue with the widget.&amp;nbsp; It appears that if cached, operational layers are turned on that have a zoom threshold set AND the map is not zoomed in enough to turn these layers on, then the progress bar will displayed "forever".&amp;nbsp; I haven't really looked into fixing this...yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Eric&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 17:08:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-implement-a-amp-quot-loading-amp-quot/m-p/258236#M7884</guid>
      <dc:creator>EricVenden</dc:creator>
      <dc:date>2012-05-10T17:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement a "Loading" message after a layer is checked in the TOC</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-implement-a-amp-quot-loading-amp-quot/m-p/258237#M7885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks!&amp;nbsp; That answers my question.&amp;nbsp; Any idea when it will be fixed?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 18:18:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-implement-a-amp-quot-loading-amp-quot/m-p/258237#M7885</guid>
      <dc:creator>AshleyOwens</dc:creator>
      <dc:date>2012-05-10T18:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement a "Loading" message after a layer is checked in the TOC</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-implement-a-amp-quot-loading-amp-quot/m-p/258238#M7886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ashley,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I would recommend this one instead:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/9585-MapProgressBar-widget-for-SFV-2.0"&gt;http://forums.arcgis.com/threads/9585-MapProgressBar-widget-for-SFV-2.0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But it still need changes to make it work with tiled map services and custom LODs as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;lt;widget horizontalcenter="0" verticalcenter="0" url="widgets/MapProgressBar/MapProgressBarWidget.swf"/&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the widget will all the necessary changes:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 23:40:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-implement-a-amp-quot-loading-amp-quot/m-p/258238#M7886</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-05-10T23:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement a "Loading" message after a layer is checked in the TOC</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-implement-a-amp-quot-loading-amp-quot/m-p/258239#M7887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Has anyone configured this progress bar widget to show on the initial load of the operational layer(s)?&amp;nbsp; I'm working from the widget's source code, and everything works fine for extent changes, etc.&amp;nbsp; However, I'd like to have the progress bar show on the initial map load in case it takes a few moments for my operational layers to load.&amp;nbsp; Any suggestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Joe&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 22:53:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-implement-a-amp-quot-loading-amp-quot/m-p/258239#M7887</guid>
      <dc:creator>JosephGrubbs</dc:creator>
      <dc:date>2012-05-14T22:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement a "Loading" message after a layer is checked in the TOC</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-implement-a-amp-quot-loading-amp-quot/m-p/258240#M7888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Joe,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Because of timing issues I don't believe that you will be able to achieve this as the widgets life cycle beginning is after the maps in the whole viewers scheme. Of course if you were to put all the widgets logic in the MapManager.mxml than you could do it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 10:57:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-implement-a-amp-quot-loading-amp-quot/m-p/258240#M7888</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-05-15T10:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement a "Loading" message after a layer is checked in the TOC</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-implement-a-amp-quot-loading-amp-quot/m-p/258241#M7889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert - Understood.&amp;nbsp; Right, that makes sense.&amp;nbsp; Thank you, again!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Joe&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 23:00:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-implement-a-amp-quot-loading-amp-quot/m-p/258241#M7889</guid>
      <dc:creator>JosephGrubbs</dc:creator>
      <dc:date>2012-05-15T23:00:29Z</dc:date>
    </item>
    <item>
      <title>Progress Bar Hangs on tiled service when map zooms out beyond layer's max scale</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-implement-a-amp-quot-loading-amp-quot/m-p/258242#M7890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using Robert's revision of Chen's MapProgressBar widget. I have a tiled mapservice layer (parcels) that has a max scale of 1:8,000. When I zoom in and that layer activates, the progress bar disappears as expected, but when I zoom out beyond the max scale of the parcels layer, the progress bar hangs. I think that it has to do with the following code:&lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;protected function layerUpdateEndHandler(event:LayerEvent):void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; var lyr:Layer = event.layer;
&amp;nbsp;&amp;nbsp;&amp;nbsp; //once a layer finished its update,remove the layer from layer collection
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (layerColl.contains(lyr)){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layerColl.removeItemAt(layerColl.getItemIndex(lyr));
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; //all layers finished their loading and rendering,hide the progress
&amp;nbsp;&amp;nbsp;&amp;nbsp; pb.visible = !layerColl.length == 0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; trace(layerColl.length);
&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;SPAN&gt; The protected function is supposed to iterate with each layer in the layerColl, but for some reason (since the layer in question is no longer in the refreshed map?), the layerUpdateEndHandler does not run to remove that layer, thus the condition pb.visible = !layerColl.length ==0 is still in effect, since layerColl still contains the parcels layer. In other words, if a layer is removed as the result of an extent change, it does not seem to activate the mapLayerRemoveHandler, since it is not registered by the MapEvent.LAYER_REMOVE event???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope my explanation is clear. Any help will be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jim Faron&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:43:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-implement-a-amp-quot-loading-amp-quot/m-p/258242#M7890</guid>
      <dc:creator>JamesFaron</dc:creator>
      <dc:date>2021-12-11T12:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement a "Loading" message after a layer is checked in the TOC</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-implement-a-amp-quot-loading-amp-quot/m-p/258243#M7891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jim,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I really thought that I had that handled by this function:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; protected function layerUpdateStartHandler(event:LayerEvent):void
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //once a layer starts to update,show the progressbar
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pb.visible = true;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var lyr:Layer = event.layer;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //If a ArcGISTiledMapServiceLayer has Display Levels defined and the map has custom
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //LODs defined than it takes this extra work to determine if the layer is actually
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //drawing at this LOD and if not then just return and do not add this layer to the
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //layerColl
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var Lod:LOD = map.lods[map.level];
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (lyr is ArcGISTiledMapServiceLayer){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var tLyr:ArcGISTiledMapServiceLayer = lyr as ArcGISTiledMapServiceLayer;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(tLyr.displayLevels){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var pLodFound:Boolean;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for each(var tLod:LOD in layerTileInfoCache[tLyr]){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (tLod == Lod) pLodFound = true;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(!pLodFound) return;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color:#ff0000;"&gt;if(!lyr.isInScaleRange) return;&lt;/SPAN&gt; //Which means that the layer never gets added to the collection
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //add the layer to layer collection
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!layerColl.contains(lyr)){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layerColl.addItem(lyr);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will have look into it more when I get a chance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:43:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-implement-a-amp-quot-loading-amp-quot/m-p/258243#M7891</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T12:43:04Z</dc:date>
    </item>
  </channel>
</rss>

