| MGMap.selectRadiusMode |
|
void selectRadiusMode()
Selects Select Radius mode.
In this mode, Autodesk MapGuide allows the user to digitize a circle and select all map features that fall within the circle.
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" chapter in the Autodesk MapGuide Developer's Guide.
-1 (busy)
The following example is designed to work with the Tutorial.mwf file that is included with Autodesk MapGuide Author. It invokes radius selection mode.
Note that the user can make a radius selection only if one or more selectable layers is visible.
function radSelect()
{
getMap().selectRadiusMode();
}
Note: The selectPolygonMode() example shows how to check for selectable map features before calling a Viewer API selection method.