| MGMap.createMapLayerGroup |
|
MGMapLayerGroup createMapLayerGroup(String name)
Creates a new map layer group and adds it to the map.
Note that this method does not work during a busy state. For additional information about the busy state, refer to "Handling Busy State and Map Refresh" chapter in the Autodesk MapGuide Developer's Guide.
name - The name of the map layer group you wish to create. To avoid conflicts, you should give each layer group a unique name.
MGMapLayerGroup - The new MGMapLayerGroup object.
-1 (busy)
-3 (illegal argument)
removeMapLayerGroup, redrawLegend