The Change Basemaps sample app shows how you can change basemaps from an Android Navigation Drawer.
- ArcGISMap
- MapView
- Basemap
- ViewPoint
The selectBasemaps()
method switches Basemaps based on the position of the navigation drawer selection. The Basemap is created from create methods on a Basemap
object.
mMap.setBasemap(Basemap.createStreets());