Select to view content in your preferred language

Limiting scale levels

2041
2
Jump to solution
04-17-2014 12:57 PM
RudieWatzig
Regular Contributor
Is there a way to limit the number of zoom scale levels on the zoom slider bar and still use the ESRI basemaps?

I am using Flex 3.6

I would like to remove about half of them.  I do not see where in the config.xml where you would define the zoom levels.

Thank you

Rudie Watzig
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RudieWatzig
Regular Contributor
Nevermind,

I figured it out.  In the <map>  I put

<lods>
<lod scale="4622324.4343090001" resolution="1222.9924525624949"/>
<lod scale="2311162.2171550002" resolution="611.49622628137968"/>
<lod scale="1155581.108577" resolution="305.74811314055756"/>
<lod scale="577790.55428899999" resolution="152.87405657041106"/>
<lod scale="288895.27714399999" resolution="76.437028285073239"/>
<lod scale="144447.638572" resolution="38.21851414253662"/>
<lod scale="72223.819285999998" resolution="19.10925707126831"/>
<lod scale="36111.909642999999" resolution="9.5546285356341549"/>
<lod scale="18055.954822" resolution="4.7773142679493699"/>
<lod scale="9027.9774109999998" resolution="2.3886571339746849"/>
</lods>

View solution in original post

0 Kudos
2 Replies
RudieWatzig
Regular Contributor
Nevermind,

I figured it out.  In the <map>  I put

<lods>
<lod scale="4622324.4343090001" resolution="1222.9924525624949"/>
<lod scale="2311162.2171550002" resolution="611.49622628137968"/>
<lod scale="1155581.108577" resolution="305.74811314055756"/>
<lod scale="577790.55428899999" resolution="152.87405657041106"/>
<lod scale="288895.27714399999" resolution="76.437028285073239"/>
<lod scale="144447.638572" resolution="38.21851414253662"/>
<lod scale="72223.819285999998" resolution="19.10925707126831"/>
<lod scale="36111.909642999999" resolution="9.5546285356341549"/>
<lod scale="18055.954822" resolution="4.7773142679493699"/>
<lod scale="9027.9774109999998" resolution="2.3886571339746849"/>
</lods>
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Rudie,

   Be sure to post ArcGIS Viewer for Flex Questions in the ArcGIS Viewer for Flex forum
0 Kudos