1

I am using ArcGIS Viewer for Flex 3.5 to create an application. As it covers more than one areas of interest, I need to provide an option to the user to only select base maps from his own desired domain. In order to do that, I need more than one Basemap dropdown menus in the application whereas, the default map switcher widget only provides options for one menu.

I have not been able to find any worthwhile support or guidance for the same. The only relevant source of information which I could find is a thread related to similar task in sample flex viewer in old ESRI forums at this link: http://forums.esri.com/Thread.asp?c=158&f=2421&t=282643.

However, the flex code when compared the 3.5 version is no more relevant and I cannot figure out how to make use of that.

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Oct 3, 2013 at 17:00

1 Answer 1

1

You could try using Application Builder. It allows you to choose multiple custom or ArcGIS Online basemaps for use in the application. Here are the instructions on how to do that. After you have build your application, you basically deploy a Flex Viewer application at your web server. If you still prefer to use the source code of Flex Viewer and do all the development on your own, then look for the tag reference here which will help you to set additional basemaps in your configuration file.

Open config.xml and edit the basemaps tag:

<basemaps>
 <layer label="CustomBaseMap"
 type="tiled"
 visible="true"
 url="http://server/ArcGIS/rest/services/BaseMaps/BaseMap/MapServer"/>
</basemaps>
PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
answered Oct 5, 2013 at 7:10

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.