Main Content

wmclose

Close web map

Description

wmclose closes the current web map.

example

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

example

wmclose all closes all web maps.

example

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.1 You use the webmap function to get a web map handle when you create a web map.

Version History

Introduced in R2013b


1 Alignment of boundaries and region labels are a presentation of the feature provided by the data vendors and do not imply endorsement by MathWorks®.