Specify a WMS Layer as a Base Layer

You can display a WMS layer in the web map browser, 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 browser.

nasa = wmsfind('nasa', 'SearchField', 'serverurl');
baselayer = refine(nasa, 'bluemarbleng',  ...
      'SearchField', 'layername', 'MatchType', 'exact');
baselayer = wmsupdate(baselayer);

See Also

| |

Related Topics