Main Content

Specify a WMS Layer as a Base Layer

Display a WMS layer in a web map by using the webmap function. The following example shows how to use Web Map Service functions to connect with a Web server, retrieve a layer, and display it in a web map. Change the view using your mouse.

info = wmsinfo('');
nasa = info.Layer;
baselayer = refine(nasa, 'bluemarbleng',  ...
      'SearchField', 'layername', 'MatchType', 'exact');
baselayer = wmsupdate(baselayer);

See Also

| |

Related Topics