Select to view content in your preferred language

<lods>

352
2
04-27-2011 04:56 AM
philippschnetzer
Frequent Contributor
Does anyone have an idea what could be wrong with the code below (from config.xml)...

I Just want to exclude my 1:100 scale from the viewer for the time being and so I included the <lods> as the help doc says to.  I have gone over my resolution and scale numbers several times from my services site and they are indeed identical!  The 1:100 scale continues to show up in my map...

I'm using flexviewer 2.2.

Thanks for any help!

<map initialextent="334860 4939343 482233 5027846">      
                 
    <lods>
        <lod resolution="132.291931250529" scale="500000"/>
        <lod resolution="66.1459656252646" scale="250000"/>
        <lod resolution="31.750063500127" scale="120000"/>
        <lod resolution="15.8750317500635" scale="60000"/>
        <lod resolution="7.93751587503175" scale="30000"/>
        <lod resolution="3.96875793751588" scale="15000"/>
        <lod resolution="1.85208703750741" scale="7000"/>
        <lod resolution="0.793751587503175" scale="3000"/>
        <lod resolution="0.264583862501058" scale="1000"/>
        <lod resolution="0.132291931250529" scale="500"/>     
 </lods>
                                       
        <basemaps>       
         <layer label="xxxxx" type="tiled" visible="true" 
          url="http://xxxxxxx/ArcGIS/rest/services/xxxxxxx/MapServer"/>     
   </basemaps>
      
       <operationallayers>    
         <layer label="Layers" type="dynamic" visible="true" imageformat="png32" 
              url="http://xxxxxxxx/ArcGIS/rest/services/xxxxxxxxxxxx/MapServer"/>                                                    
        </operationallayers>                   
    </map>
Tags (2)
0 Kudos
2 Replies
JonFisher
Emerging Contributor
Wow, I had a few ideas but your tags are in the right place, have the right format, and if the scale and resolution definitely match your map service it's quite odd. Have you tried setting a basemap with the same projection / LODs as your operational layer? Are any other unwanted LODs showing up or just 1:100?
0 Kudos
philippschnetzer
Frequent Contributor
my basemap and operational mxds both share the same projection and scales.  and it doesn't seem to matter which lods i change or remove i always have all of them showing in the web app.

funny thing is i have had this working before for a different app and have everything configured the same this time...

however, when i did have it working before it was for a web mercator web app, whereas this one in question is a different projection - maybe this <lod> exclusion only works in web mercator?? i doubt that though...

thanks for your thoughts!
0 Kudos