Maptitude GISDK Help

GetMapOptions()

Summary

Gets the value of options for a map window.

 

Syntax

GetMapOptions(string map_name)

 

Argument

Contents

map_name

The name of the map, or null for the current map

 

Returns

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

 

Notes

Example

// Before running the example, open any map.

x = GetMapOptions()

ShowArray(x)

 

Error Codes

Error Type

Meaning

NotFound

There is no map with the specified name

 

See Also

Function

Summary

SetMapOptions()

Sets options for a map window

OpenMap()

Open a map file and display it in a map window

CreateMap()

Create a new, empty map window

 

 

©2025 Caliper Corporation www.caliper.com