wmclose

Close web map

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

collapse all

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

webmap
pause(1)
wmclose

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)

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

collapse all

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.

Introduced in R2013b