addCustomBasemap
Add custom basemap
Description
addCustomBasemap(
adds the custom basemap specified by basemapName
,URL
)URL
to the list of basemaps
available for use with mapping functions. basemapName
is the name you
choose to call the custom basemap. Added basemaps remain available for use in future
MATLAB® sessions.
You can use the custom basemap with
the geoplayer
object
and with MATLAB geographic axes and charts.
addCustomBasemap(___,
specifies name-value arguments that set additional parameters of the basemap.Name=Value
)
Examples
Input Arguments
Tips
You can find tiled web maps from various vendors, such as OpenStreetMap®, the USGS National Map, Mapbox, DigitalGlobe, Esri ArcGIS Online, the Geospatial Information Authority of Japan (GSI), and HERE Technologies. Abide by the map vendors terms-of-service agreement and include accurate attribution with the maps you use.
Mapping Toolbox enables additional strategies for adding custom basemaps. For example, you can add custom basemaps from vector basemaps hosted by Esri, from MBTiles files, or from georeferenced images. Several of these strategies do not require internet access. For more information, see
addCustomBasemap
(Mapping Toolbox) and Use Basemaps in Offline Environments (Mapping Toolbox).To access a list of available basemaps, press Tab before specifying the basemap in your plotting function. This image shows a sample list of available basemaps, including several custom basemaps from the USGS National Map.
Version History
Introduced in R2019a
See Also
geobasemap
| geobubble
| removeCustomBasemap
| geoplayer
| readBasemapImage
(Mapping Toolbox) | addCustomBasemap
(Mapping Toolbox)
Topics
- Use Basemaps in Offline Environments (Mapping Toolbox)