Maptitude GISDK Help |
Closes a map window.
CloseMap(string map_name)
Argument |
Contents |
map_name |
The name of the map, or null for the current map |
The system drops layers that are referenced only in the closed map.
CloseMap() closes the map window without executing the Close macro.
If there is a Done macro, it is called after the map window is closed.
// Here's a macro to close all open maps
maps = GetMapNames()
for i = 1 to maps.length do
CloseMap(maps[i])
end
Error Type |
Meaning |
NotFound |
There is no map with the specified name, or map_name is null and the current window is not a map window |
Function |
Summary |
Create a new, empty map window |
|
Creates a copy of a map |
|
Open a map file and display it in a map window |
|
Saves settings for a map window to a file on disk |
©2025 Caliper Corporation | www.caliper.com |