Select to view content in your preferred language

Local Basemap does not display in Map Switcher

556
2
08-09-2011 07:36 AM
StephanieSnider
Frequent Contributor
We have bandwidth restrictions in my organization, so I need to develop a Flex web app that uses our local basemaps (instead of the nice ESRI ones).  I have several publicly viewable rest services that currently work in ArcGIS Server .Net 10.
http://ndep-emap.nv.gov/arcgis/rest/services 

However, I cannot get these cached tile services to show up under the basemap layers for the Map Switcher.  Since these services work in the .NET web app, I'm not sure why they don't show up in the Flex app.  Any suggestions?

http://ndep-emap.nv.gov/eMapFlex/

 <basemaps>
            <layer label="Streets" type="tiled" visible="true"                   url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/>
            <layer label="Aerial"  type="tiled" visible="false"                   url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"/>
            <layer label="Topo"    type="tiled" visible="false"                   url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"/>
            <layer label="NAIP 2010"    type="tiled" visible="false"                   
url="http://ndep-emap.nv.gov/ArcGIS/rest/services/NAIP_2010/MapServer"/>
        </basemaps>
Tags (2)
0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus
Stephanie,

   All tiled maps have to be cached at the same levels of detail and be in the same projection to work together in the Viewer. Try removing the esri ones all together and setting the initial extent of your map to match your data as well

From your NAIP 2010 aerial photography:
Initial Extent:
XMin: -464726.843653793
YMin: 3522525.07394709
XMax: 1431810.28275379
YMax: 4976677.98225291
0 Kudos
StephanieSnider
Frequent Contributor
Yeah!  That worked.  Thank you so much 🙂
0 Kudos