| MGMapLayerGroup.removeMapLayer |
|
boolean removeMapLayer(MGMapLayer obj)
Removes a single map layer from the group.
This method always refreshes the map when the autoRefresh flag is set to True or when called from the onViewChanging or onViewChanged 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.
obj - An MGMapLayer object.
boolean - Returns True if successful; otherwise, returns False.
-1 (busy)
-3 (illegal argument)