Select to view content in your preferred language

Basemaps, Dynamic, then Tiled

556
2
04-06-2012 02:09 PM
JeffreyUtter
Deactivated User
In my FV 3.0, I have 4 basemaps, the first being Dynamic. I have to zoom into 282 for the application. The default Tiled maps cannot zoom that far in.
My dynamic basemaps works, but the Tiled basemaps do not.
Do I have to Tile my Dynamic Basemap in order for the other Tiles maps to work?
<basemaps>
            <layer label="Detailed Village Aerials" type="dynamic" visible="false"
                   icon="assets/images/barrow.png"
            url="http://atlas/ArcGIS/rest/services/AllVillAerials/MapServer" />
            <layer label="Streets" type="tiled" visible="true"
                   icon="assets/images/basemap_streets.jpg"
                   url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/>
            <layer label="Aerial"  type="tiled" visible="false"
                   icon="assets/images/basemap_imagery.jpg"
                   url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"/>
            <layer label="Topo"    type="tiled" visible="false"
                   icon="assets/images/basemap_topographic.jpg"
                   url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"/>
        </basemaps>
Tags (2)
0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus
Jeff,

   All you need to doe add additional LODs to your main config.xml

    <map wraparound180="true" initialextent="-9598200 3968200 -9500400 4026200" fullextent="-9598200 3968200 -9500400 4026200" top="40" >
        <lods>
            <lod resolution="0.149291071" scale="564.2485881"/>
            <lod resolution="0.29858214171376" scale="1128.4971762"/>
            <lod resolution="0.59716428342752" scale="2256.9943525"/>
            <lod resolution="1.19432856685505" scale="4513.988705"/>
            <lod resolution="2.38865713397468" scale="9027.977411"/>
            <lod resolution="4.77731426794937" scale="18055.954822 "/>
            <lod resolution="9.55462853563415" scale="36111.909643"/>
            <lod resolution="19.1092570712683" scale="72223.819286"/>
            <lod resolution="38.2185141425366" scale="144447.638572"/>
            <lod resolution="76.4370282850732" scale="288895.277144"/>
        </lods>
        <basemaps>
            <layer label="ESRIStreets" type="tiled" visible="true"
                   url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"
                   displaylevels="11,12,13,14,15,16"/>
            <layer label="Aerial Photography" type="dynamic" imageformat="jpg" visible="true" useamf="true" url="someurl"/>
            <layer label="Parcel Data" type="dynamic" imageformat="png32" visible="true" useamf="true" url="someurl"/>
        </basemaps>
        <operationallayers/>
    </map>


There is a section on this in the documentation:
http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/Main_configuration_file/01m30000001800...

Don't forget to click the Mark as answer check on this post and to click the top arrow (promote) as shown below:
0 Kudos
BjornSvensson
Esri Regular Contributor
In your main configuration file you can set up the LODs ("levels of details") that you want to use.  In this case, you could first specify the ones that apply to the tiled service you are using, then add a few more zoomed in ones.

See <lods> in the Flex Viewer documentation under Tag Reference -> Main configuration file:
http://resourcesbeta.arcgis.com/en/help/flex-viewer/concepts/index.html#/Main_configuration_file/01m...

FYI - for people also working with the Flex API, this is similar in principal to how it works in the API, see for example the "Add LODs for extra zooming" sample:
http://resourcesbeta.arcgis.com/en/help/flex-api/samples/index.html#/Add_LODs_for_extra_zooming/01nq...
0 Kudos