| MGMap.removeMapLayerGroup |
|
boolean removeMapLayerGroup(MGMapLayerGroup object)
Removes the specified map layer group from the map.
This method always refreshes the map when the autoRefresh flag is set to True or when called from the onViewChanging or onMapLoaded events.
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" in the Autodesk MapGuide Developer's Guide.
object - The map layer group to remove from the map.
boolean - Returns True if layer group successfully removed; False if layer group does not exist.
-1 (busy)
-3 (illegal argument)