<?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: LODs not working correctly for operationallayer in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/lods-not-working-correctly-for-operationallayer/m-p/49823#M1153</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alexander,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; OK, now I see that we have to go back to what you were originally trying to do and just remove the last couple of LODs from the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So there are a couple of things you can try one is this in the MapManager.mxml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
//map load complete
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private function mapLoadComplete(event:MapEvent):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; // ViewerContainer.dispatchEvent(new AppEvent(AppEvent.LAYER_LOADED));
&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; map.lods.length = 18;
&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;This eliminates the last 2 LODS in the map.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 21:55:33 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2021-12-10T21:55:33Z</dc:date>
    <item>
      <title>LODs not working correctly for operationallayer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/lods-not-working-correctly-for-operationallayer/m-p/49818#M1148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using the Flex Viewer 2.0 and am adding an operational layer on top of ESRI's topo map. The operational layer fits perfectly on top of the topo map when using the default settings. But as soon as I want to set the number of LODs used in the MapManager, the layer does not fit on top of the basemap anymore. I've tried making the service a tiled service with the same tiles as the World Topo Map but without any luck.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anybody tell me what's going on here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks! &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ps: My goal is to remove the lowest zoom levels, because for my area the topo map does not have map data available in that detail.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Aug 2010 11:32:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/lods-not-working-correctly-for-operationallayer/m-p/49818#M1148</guid>
      <dc:creator>Alexandervan_der_Schans</dc:creator>
      <dc:date>2010-08-11T11:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: LODs not working correctly for operationallayer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/lods-not-working-correctly-for-operationallayer/m-p/49819#M1149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alexander,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Why don't you just set the minScale property of the ArcGISTiledMapServiceLayer so that it does not display at scales where data does not exist?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Aug 2010 11:50:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/lods-not-working-correctly-for-operationallayer/m-p/49819#M1149</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-08-11T11:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: LODs not working correctly for operationallayer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/lods-not-working-correctly-for-operationallayer/m-p/49820#M1150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;where exactly would I add the minScale property? does it go below the :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var tiledlayer:ArcGISTiledMapServiceLayer = new ArcGISTiledMapServiceLayer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and does the number have to be the exact number as specified by the LOD? (e.g with all the decimal numbers?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks alot!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Aug 2010 12:08:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/lods-not-working-correctly-for-operationallayer/m-p/49820#M1150</guid>
      <dc:creator>Alexandervan_der_Schans</dc:creator>
      <dc:date>2010-08-11T12:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: LODs not working correctly for operationallayer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/lods-not-working-correctly-for-operationallayer/m-p/49821#M1151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alexander,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; yes try tiledlayer.minScale = somenumber; It would be best to have the exact number.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Aug 2010 14:31:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/lods-not-working-correctly-for-operationallayer/m-p/49821#M1151</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-08-11T14:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: LODs not working correctly for operationallayer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/lods-not-working-correctly-for-operationallayer/m-p/49822#M1152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've added the minScale property, but what happens is that the map now ONLY shows the map when I zoom in to the given scale (18056). When I zoom further in or out, the map can't render. Also, the zoomlevels below this scale are still available for zooming, which is not what I want. Any suggestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Aug 2010 06:30:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/lods-not-working-correctly-for-operationallayer/m-p/49822#M1152</guid>
      <dc:creator>Alexandervan_der_Schans</dc:creator>
      <dc:date>2010-08-12T06:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: LODs not working correctly for operationallayer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/lods-not-working-correctly-for-operationallayer/m-p/49823#M1153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alexander,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; OK, now I see that we have to go back to what you were originally trying to do and just remove the last couple of LODs from the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So there are a couple of things you can try one is this in the MapManager.mxml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
//map load complete
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private function mapLoadComplete(event:MapEvent):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; // ViewerContainer.dispatchEvent(new AppEvent(AppEvent.LAYER_LOADED));
&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; map.lods.length = 18;
&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;This eliminates the last 2 LODS in the map.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:55:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/lods-not-working-correctly-for-operationallayer/m-p/49823#M1153</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-10T21:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: LODs not working correctly for operationallayer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/lods-not-working-correctly-for-operationallayer/m-p/49824#M1154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Robert, that works perfectly!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And in reverse, what would be the syntax to prevent the &lt;/SPAN&gt;&lt;SPAN style="text-decoration:underline;"&gt;first&lt;/SPAN&gt;&lt;SPAN&gt; x-number of LODs to be rendered?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Aug 2010 11:28:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/lods-not-working-correctly-for-operationallayer/m-p/49824#M1154</guid>
      <dc:creator>Alexandervan_der_Schans</dc:creator>
      <dc:date>2010-08-12T11:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: LODs not working correctly for operationallayer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/lods-not-working-correctly-for-operationallayer/m-p/49825#M1155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alexander,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; You would need to use some code like this&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
map.lods = map.lods.slice(9);//Remove first 9 lods
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would do this after you do the other though.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:55:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/lods-not-working-correctly-for-operationallayer/m-p/49825#M1155</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-10T21:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: LODs not working correctly for operationallayer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/lods-not-working-correctly-for-operationallayer/m-p/49826#M1156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks! Works great.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And thank you for your fast replies!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Aug 2010 12:11:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/lods-not-working-correctly-for-operationallayer/m-p/49826#M1156</guid>
      <dc:creator>Alexandervan_der_Schans</dc:creator>
      <dc:date>2010-08-12T12:11:34Z</dc:date>
    </item>
  </channel>
</rss>

