Skip To Content ArcGIS for Developers Sign In Dashboard

Change basemap


This sample demonstrates how to change the basemap of a map.

How it works

AGSMap has a basemap property of type AGSBasemap. On each selection, the app creates a new basemap of the specified type and assigns it to map.basemap. AGSBasemp provides a set of factory methods for each of Esri's basemap.

In this topic
  1. Description