Maptitude GISDK Help

GetMapCurrentLayer()

Summary

Gets the name of the current layer in a map.

 

Syntax

curr_layer = GetMapCurrentLayer(string map_name)

 

Argument Contents
map_name The name of the map, or null for the current map

 

Returns

A string with the name of the current layer in the map

 

Notes

Example

curr_layer = GetMapCurrentLayer()

ShowMessage("The current layer is " + curr_layer)

 

See Also

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