| Maptitude GISDK Help |
Gets the name of the current layer in a map.
curr_layer = GetMapCurrentLayer(string map_name)
| Argument | Contents |
|---|---|
| map_name | The name of the map, or null for the current map |
A string with the name of the current layer in the map
GetMapCurrentLayer() returns the current layer in the current map, regardless of whether a map window is the current window.
Each map stores its own current layer.
curr_layer = GetMapCurrentLayer()
ShowMessage("The current layer is " + curr_layer)
| Function | Summary |
|---|---|
| GetLayer() | Gets the name of the current layer, if any |
| GetLayers() | Gets information on layers in the system and the current layer |
| GetMapLayers() | Gets a list of the layers in a map |
| ©2025 Caliper Corporation | www.caliper.com |