Maptitude GISDK Help

GetLayerNames()

Summary

Gets a list of all layers in the system.

 

Changes

In Version 2018 added the optional array of types.

 

Syntax

layer_array = GetLayers(opt array types)

 

Argument

Contents

types

An optional array of strings with one or more layer types

 

Returns

An array of layer name strings.

 

Notes

Example

lyrs = GetLayerNames({"Point"})

ShowArray(lyrs)

 

See Also

Function

Summary

GetLayers()

Gets information on layers in the system and the current layer

GetLayerType()

Get the type of a layer

GetMapLayers()

Gets a list of the layers in a map

AddLayerToWorkspace()

Adds a layer to an application without it appearing in a map or dataview

 

 

©2025 Caliper Corporation www.caliper.com