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