Solved! Go to Solution.
Lefteris,
Are you saying that you want District 1 to display on top of one or the other of the basemaps you have listed? Or are you saying that you want District 1 to act like a basemap and have a button in the map switcher?
What's the projection of your basemap?
If it is using Web Mercator like the ArcGIS Onlines ones? If so, it should work.
The district 1 layer is on Web Mercator projection as well. Thank you.
Here is the code for basemaps:
<basemaps>
<layer label="District 1" type="dynamic" visible="true"
url="http://10.168.28.59/DEA_ArcGIS/rest/services/basemaps/District1/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"/>
</basemaps>
Lefteris,
Jan is on the right track but you do not have to make it a tiled layer to use it as a basemap or =have it work with the other esri basemaps. Your issue is that you have it as the first basemap in your list and there for is the layer that defines the maps LODs and spatial reference. If you more it to the last layer listed than it should work fine as then the first basemap will be a tiled layer and the map will get the LODs from that layer.
Don't forget to click the Mark as answer check and to click the top arrow (promote) as shown below: