MGMapLayerGroup.MapLayers   Go to object model Go to parent topic Go to previous topic Go to next topic

Description

Gets or sets an MGCollection containing all the map layers defined in the group.

This property adheres to the setAutoRefresh method except when called from the onViewChanging or onViewChanged events.

Note that for write operations, this property is not available during a busy state. For additional information about the busy state, see "Handling Busy State and Map Refresh" in the Autodesk MapGuide Developer's Guide.

Type

MGCollection of MGMapLayer objects (read/write)

Error Codes

-1 (busy)

-3 (illegal argument)

See Also

getMapLayer, getMapLayers, setMapLayers