Web API Reference
MapGuide Open Source
Overview
Modules
Classes
MgReadOnlyLayerCollection
Contains
GetCount
GetItem
IndexOf
MgLayerBase
* MgReadOnlyLayerCollection::GetItem
(
INT32
index
)
Gets the layer at the specified index.
.NET Syntax
MgLayerBase
GetItem(int index);
Java Syntax
MgLayerBase
GetItem(int index);
PHP Syntax
MgLayerBase
GetItem(int index);
Parameters:
index
(int) Index of the layer to get.
Returns:
Returns the layer.
Exceptions:
MgOutOfRangeException
if the index is invalid.
Comments or suggestions? Send us
feedback
.