| Maptitude GISDK Help |
Get a list of maps and the name of the current map.
maps_info = GetMaps()
An array of three elements:
| Element | Type | Contents |
|---|---|---|
| 1 | Array | An array of the names of all open maps (strings) |
| 2 | Integer | The index of the current map in the list of names |
| 3 | String | The name of the current map |
If there are no maps, GetMaps() returns null.
maps_info = GetMaps()
if maps_info[2] > 0 then
ShowMessage("The name of the current map is " + maps_info[3])
| Function | Summary |
|---|---|
| GetMapNames() | Gets a list of the names of maps in the system |
| GetMap() | Get the name of the current map |
| ©2025 Caliper Corporation | www.caliper.com |