Documentation Center

  • Trial Software
  • Product Updates

wmclose

Close web map

Syntax

Description

example

wmclose closes the current web map.

example

wmclose(wm) closes the web map specified by wm.

example

wmclose all closes all web maps.

Examples

expand all

Close Current Web Map

Open a web map, pause one second, and then close the web map.

webmap
pause(1)
wmclose

Close Specified Web Map

Open two web maps, pause for one second, and then close one of the web maps.

h1 = webmap;
h2 = webmap('ocean basemap');
pause(1)
wmclose(h1)

Close All Web Maps

Open two web maps, pause for one second, and then close all the web maps.

h1 = webmap;
h2 = webmap('ocean basemap');
pause(1)
wmclose all

Input Arguments

expand all

wm — Web mapweb map handle

Web map, specified as a web map handle. You use the webmap function to get a web map handle when you create a web map.

See Also

| | | | | | |

Was this topic helpful?