| MGMap.selectMode |
|
void selectMode()
Switches to Select mode.
This method is equivalent to the Select button on the Autodesk MapGuide Viewer toolbar.
You can use selectMode to mimic the behavior of the Release 4 and earlier versions of the Autodesk MapGuide Viewer, which always returned to the selection cursor after a Pan, Zoom, or Zoom Out. In most cases, a call to selectMode is not necessary, as methods that set the cursor type do so without requiring a specific type to be set beforehand.
-1 (busy)
This example is designed to work with the Tutorial.mwf file that is included with Autodesk MapGuide Author. It switches to Select mode:
function select()
{
alert("Select a feature...");
getMap().selectMode();
}
panMode, zoomInMode, zoomOutMode