This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Close a Web Map

To close a web map, click the Close button in the web map tab in the browser window , or use the wmclose function.

When called without an argument, wmclose closes the current web map. You can also specify which web map to close by specifying a handle to the web map. To close all currently open web maps, call wmclose specifying the 'all' argument.

The following example opens several web maps, closes a specific web map, and then closes all open web maps.

  1. Open several web maps, getting the handles to the web maps.

    wm1 = webmap;
    wm2 = webmap('Light Gray')
    wm3 = webmap('Open Street')
  2. Close a specific web map, using its handle.


  3. Close all web maps that remain open. You can also use the command form: wmclose all.


See Also


Related Topics