Add custom basemap
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 custom basemaps with several types of map displays, for
example, web maps created using the webmap
function, geographic globes created using the geoglobe
function,
and geographic axes created using the geoaxes
function.
addCustomBasemap(___,
specifies name-value pairs that set additional parameters of the basemap.Name,Value
)
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.
To use a custom basemap in a deployed application, when you call
addCustomBasemap
, you must set the value of the
'IsDeployable'
name-value pair to true
. You must
set this name-value pair whether you call addCustomBasemap
in your
application or outside of your application.
To access a list of available basemaps, press Tab before specifying the basemap in your plotting function.
geoaxes
| geobasemap
| geobubble
| geoglobe
| removeCustomBasemap
| webmap