| MGSelection.removeObjects |
|
ActiveX Control: void removeObjects(MGCollection objects, boolean notify)
Plug-In/Java Edition: void removeObjects(Vector objects, boolean notify)
Removes the specified map features from the selection and updates the display.
For compatibility between the Autodesk MapGuide Viewer Plug-In, Java Edition, and Autodesk MapGuide Viewer ActiveX Control, use removeObjectsEx instead of removeObjects.
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.
objects - A java.util.Vector or MGCollection containing the map features to remove from the selection.
notify - If true, fires the onSelectionChanged event after the removal.
-1 (busy)
-3 (illegal argument)