Maptitude GISDK Help |
Gets the name of the current layer, if any.
layer_name = GetLayer()
A string indicating the name of the current layer, or null if there is no current layer.
Any function that accepts a layer name as an argument uses the current layer if the argument is left null.
Each map has its own current layer.There are times when no current layer has been set. In that case, GetLayer() returns null.
lyr = GetLayer()
ShowMessage("The current layer is " + lyr)
Function |
Summary |
Copies the settings for a layer from one map to another |
|
Sets the current layer |
|
Gets information on the layers in the system and the current layer |
|
Gets a list of all layers in the system |
|
Gets the name of the current layer in a map |
©2025 Caliper Corporation | www.caliper.com |