Maptitude GISDK Help

GetLayerInfo()

Summary

Gets summary information about a layer.

 

Syntax

info = GetLayerInfo(string layer_name)

 

Argument

Contents

layer_name

The name of the layer

 

Returns

An array of information as follows:

 

Element

Type

Contents

1-6

Various

For internal use

7

Real

The minimum autoscale value

8

Real

The maximum autoscale value

9

String

The file name of the default layer settings file

10

String

The path and file name of the geographic file that contains the layer

11

String

The original name for the layer in the geographic file

12-14

Various

For internal use

 

Notes

Example

inf = GetLayerInfo("States")

ShowMessage("Layer " + inf[11] + " is from file " + inf[10])

 

Error Codes

Error Type

Meaning

NotFound

The specified layer does not exist

 

See Also

Function

Summary

GetDBInfo()

Gets summary information about a geographic file

GetLayerDB()

Gets the name of the location where a layer is stored

 

 

©2025 Caliper Corporation www.caliper.com