| MGSelection.removeObjectsEx |
|
void removeObjectsEx(MGCollection objects, boolean notify)
Removes multiple map features from the selection and updates the display.
This method replaces the removeObjects method in earlier versions of the Autodesk MapGuide Viewer API and supports the Autodesk MapGuide Viewer Plug-In, Java Edition, and ActiveX Control with the same syntax. The older method will still work in Release 6, but you should use removeObjectsEx for all future development.
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 collection of the map features to remove from the selection.
notify - If true, fires the onSelectionChanged event after the removal.
-1 (busy)
-3 (illegal argument)