Maptitude GISDK Help

GetLayer()

Summary

Gets the name of the current layer, if any.

 

Syntax

layer_name = GetLayer()

 

Returns

A string indicating the name of the current layer, or null if there is no current layer.

 

Notes

Example

lyr = GetLayer()

ShowMessage("The current layer is " + lyr)

 

See Also

Function Summary
CopyLayerSettings() Copies the settings for a layer from one map to another
SetLayer() Sets the current layer
GetLayers() Gets information on the layers in the system and the current layer
GetLayerNames() Gets a list of all layers in the system
GetMapCurrentLayer() Gets the name of the current layer in a map

 

 

©2025 Caliper Corporation www.caliper.com