This simple app demonstrates how we change the basemap of webmap by using switchBaseMapOnMapview method in AGSWebMap class.