| MGMap.zoomWidthDlg |
|
void zoomWidthDlg()
Displays the Zoom Width dialog box, where the user enters the width of the map window to zoom to.
This method is the equivalent of the Zoom > Zoom Width menu command in the user interface.
This method always refreshes the map when the autoRefresh flag is set to True or when called from the onViewChanging or onMapLoaded events.
Note that this method does not work during a busy state.
-1 (busy)
This example is designed to work with the Tutorial.mwf file that is included with Autodesk MapGuide Author. It displays the Zoom Width dialog box.
function showZoomWidth()
{
getMap().zoomWidthDlg();
}