Specify a WMS Layer as a Base Layer

Display a WMS layer in the web map browser 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 browser. Change the view using your mouse.

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

See Also

| |

Related Topics