| Maptitude GISDK Help |
Gets the automatic label option settings for a map.
In Version 6.0/2012 is still available but will now do nothing if called.
options = GetMapLabelOptions(string map_name, array options)
| Argument | Contents |
|---|---|
| map | The name of the map |
| options | The list of option names (strings) for which the current values are requested |
An array of option pairs for the requested options, selected from the following list.
| Option | Type | Contents |
|---|---|---|
| Overlap | Boolean | Whether automatic labels are permitted to overlap |
Specify only labeling options that apply to all layers in the specified map. For options that apply on a per layer or per set basis, use GetLabelOptions() instead.
x = GetMapLabelOptions("My Map", {"Overlap"})
// x = {{"Overlap", "True"}}
| Error Type | Meaning |
|---|---|
| Error | An option is invalid |
| NotFound | The specified map does not exist |
| Function | Summary |
|---|---|
| SetMapLabelOptions() | Controls whether automatic labels on a map can overlap |
| GetLabelOptions() | Gets the label option settings for a layer or selection set. |
| ©2025 Caliper Corporation | www.caliper.com |