Main Content

Access Basemaps and Terrain in Site Viewer

Access and Download Basemaps

To download MATLAB® basemaps:

  1. On the MATLAB Home tab, in the Environment section, click Add-Ons > Get Add-Ons.

  2. In the Add-On Explorer, scroll to the MathWorks Features section, and click show all to find the basemap packages. You can also search for the basemap add-ons by name (listed in the following table) or click Features in Filter by Type.

  3. Select the basemap data packages. For more information about basemaps, see geobubble.

    Basemap NameBasemap Data Package Name
    'bluegreen'MATLAB Basemap Data - bluegreen
    'grayland'MATLAB Basemap Data - grayland
    'colorterrain'MATLAB Basemap Data - colorterrain
    'grayterrain'MATLAB Basemap Data - grayterrain
    'landcover'MATLAB Basemap Data - landcover

In addition, Site Viewer also supports external basemaps that you can select from the basemap picker. The following options are available:

  • Satellite

  • Topographic

  • Streets

  • Streets-Light

  • Streets-Dark

  • OpenStreetMap

You need an active internet connection for all Site viewer basemaps except Dark Water. Use addCustomBasemap to access basemaps from user-specified URLs.


If basemap does not render correctly in Site Viewer (for example only the ocean is visible), check if the basemap server supports CORS (cross-origin resource sharing). Site Viewer does not support basemaps that do not support CORS.

Access Terrain

To access terrain data for Site Viewer, you need an active internet connection. Use addCustomTerrain to access terrain data from DTED-files without an active internet connection.

See Also


Related Topics