The GM_LayerInfo_t type exposes the following members.
Filename within archive file (e.g. .zip or .tar.gz) from which layer was loaded, if any (might be NULL)
RASTER/ELEV ONLY: number of bits per band value. Multiply by mNumBands to get total bit depth per sample.
RASTER/ELEV ONLY: type of data for the bands
Code page for text in layer. 0 is default and current active code page (CP_ACP). CP_UTF8 is for UTF-8 interpretation.
RASTER ONLY: Ground control points list. Point to GM_GroundControlPoint_t
Default view bounding rect of layer in global coordinates (usually same as mGlobalRect)
Elevation units for layer
Is this layer enabled for display or it it hidden?
Additional load flags with options selected by user during load. Pass these to GM_LoadLayerListEx to remember options.
Filename from which layer was loaded (if this is an archive file, like .zip, then the name of the actual loaded file will be in mArchiveFilename
RASTER/ELEV ONLY: Approximate number of pixels required in height for a 1:1 pixel mapping in the current projection
RASTER/ELEV ONLY: Approximate number of pixels required in width for a 1:1 pixel mapping in the current projection
Bounding rect of layer in global coordinates
Group name that the layer is in. NULL for no group. Separated with <sep> if multiple levels.
Does this layer have raster or elevation data?
Does this layer have vector data (the features counts can all be 0 for things like map catalogs)
ELEV ONLY: Maximum elevation in meters
List of metadata attributes and values for the layer
ELEV ONLY: Minimum elevation in meters
Native projection of layer
Bounding rect of layer in native coordinates
VECTOR ONLY: Number of area features
Number of bands in a raster image (use GM_SetRasterDisplayOptions to change color band layout)
VECTOR ONLY: Number of Lidar point cloud points (fetch with GM_GetLidarPoint)
VECTOR ONLY: Number of line features
VECTOR ONLY: Number of point features
List of palette entries for palette-based raster layer
Handle to parent layer if this is a child (i.e. from catalog or online layer). NULL for all top-level layers.
RASTER/ELEV ONLY: Number of pixels tall layer is
RASTER/ELEV ONLY: Pixel size in meters in the x direction
RASTER/ELEV ONLY: Pixel size in meters in the y direction
RASTER/ELEV ONLY: Number of pixels wide layer is
Raster type flags, specifies what type of data a raster layer actually contains
Layer type name
RASTER/ELEV ONLY: Was the default position used for this layer since the file could not be automatically positioned?
Custom data associated with layer provided by user via GM_SetLayerUserData function
Custom text string associated with layer provided by user via GM_SetLayerUserText function or loaded form workspace.