Main Content

wmclose

(To be removed) Close web map

The wmclose function will be removed in a future release. Use a geographic axes object and the close function instead. For information on updating your code, see Version History.

Description

wmclose closes the current web map.

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

example

wmclose all closes all web maps.

Examples

collapse all

Create a web map and store a handle to the web map in h. Pause one second, then close the web map.

h = webmap;
pause(1)
wmclose(h)

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

collapse all


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®.