| MGMap.getMapLayers |
|
ActiveX Control: MGCollection getMapLayers()
Plug-In/Java Edition: Vector getMapLayers()
Returns a Vector (or MGCollection) object containing all the map layers defined in the map.
For compatibility between the Autodesk MapGuide Viewer Plug-In, Java Edition, and ActiveX Control, use getMapLayersEx instead of getMapLayers.
ActiveX Control: MGCollection - A collection of MGMapLayer objects. Returns empty MGCollection if unsuccessful.
Plug-In/Java Edition: Vector - A java.util.Vector of map layer objects. Returns empty Vector if unsuccessful.
none
MapLayers, getMapLayer, getMapLayersEx