addCustomBasemap
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.
If you have Mapping Toolbox, you can create custom basemaps from MBTiles files and from vector basemaps hosted by Esri. For more information, see
addCustomBasemap
(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)
Topics
- Use Basemaps in Offline Environments (Mapping Toolbox)