Select to view content in your preferred language

base map default at start up

1852
2
Jump to solution
02-12-2014 11:46 AM
ErikBlake
Frequent Contributor
How do I get my flex application built from the compiled version to open on start up with thestreets or topographic base map instead of the imagery base map.
Thanks for any help
Erik
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Erik,

   For that you have to manually edit the main config.xml and add the basemap that you want as the default one.

        <basemaps>             <layer label="Streets" type="tiled" autoswitchtoscale="4513.988705" visible="false" url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" icon="https://www.arcgis.com/sharing/rest/content/items/d8855ee4d3d74413babfb0f41203b168/info/thumbnail/world_street_map.jpg"/>         </basemaps>

View solution in original post

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus
Erik,

   For that you have to manually edit the main config.xml and add the basemap that you want as the default one.

        <basemaps>             <layer label="Streets" type="tiled" autoswitchtoscale="4513.988705" visible="false" url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" icon="https://www.arcgis.com/sharing/rest/content/items/d8855ee4d3d74413babfb0f41203b168/info/thumbnail/world_street_map.jpg"/>         </basemaps>
0 Kudos
ErikBlake
Frequent Contributor
Thanks Robert that is exactly want I wanted to know.
0 Kudos