Maptitude GISDK Help |
Gets the value of options for a map window.
GetMapOptions(string map_name)
Argument |
Contents |
map_name |
The name of the map, or null for the current map |
An array of option name-value pairs, with one pair for each option in the table below:
Option |
Type |
Contents |
Auto Project |
Boolean |
If "True" the map projection is chosen automatically based on the current scope and scale; if "False" projections are not automatically changed |
Menu |
String |
The menu that is associated with the map window |
The attached menu is automatically displayed whenever the map is activated.
// Before running the example, open any map.
x = GetMapOptions()
ShowArray(x)
Error Type |
Meaning |
NotFound |
There is no map with the specified name |
Function |
Summary |
Sets options for a map window |
|
Open a map file and display it in a map window |
|
Create a new, empty map window |
©2025 Caliper Corporation | www.caliper.com |