How can I disable the basemap in ArcGIS Viewer for Flex?
Hani,
You are not required to use basemaps at all in your Viewer if you choose not to. Can you be more specific? If you are talking about turning off (setting the visibility to false) at run time then you can do this using the eLayerList widget.
http://www.arcgis.com/home/item.html?id=58d9bb5693c94918a3934781d7234d18
The widget can be configured to show basemaps which also makes then able to be turned on and off.
Yes, I forgot marking it as a correct answer!
Glad I could help. Please mark my reply as the correct answer.
Robert
Thank you Robert,
Perhaps my post is confusing, I want to make the basemap layer invisible at the run time (exactly as you've mentioned). I tried the eLayerList add in, and it worked well!
Thank you again and Best Regards,
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.