160
|
Chapter 7
Applications
map.viewReportsDlg();
}
}
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
Function:
zoom(type)
+
+
Description:
general use of zoom functions
+
+
Arguments:
type string
+
+
Return:
null
+
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
function zoom(type)
{
var map = getMap();
//get MGMap
if (map.isBusy() == false)
{
if (type == 'Scale')
map.zoomScaleDlg();
else
map.zoomWidthDlg();
}
else
alert("The Autodesk MapGuide Viewer is busy ... please\n
try again in a few seconds");
}
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
Function:
selMapObj()
+
+
Description:
select by object, uses the Select Map Objects dialog
+
+
Arguments:
none
+
+
Return:
none
+
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
function selMapObj(){
var map = getMap();
map.selectMapObjectsDlg();
}
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
Function:
selRadiusMode()
+
+
Description:
changes the selection mode to select by radius
+
+
Arguments:
none
+
+
Return:
none
+
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
function selRadiusMode(){
var map = getMap();
map.selectRadiusMode();
}
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Facilities Management Application Example Code (
continued
)
Summary of Contents for 15606-011408-9300 - MAP R6.3 UPG
Page 1: ...15306 010000 5060 October 2001 Autodesk MapGuide Release 6 Developer s Guide ...
Page 6: ...vi ...
Page 16: ...16 ...
Page 30: ...30 ...
Page 84: ...84 ...
Page 134: ...134 ...
Page 202: ...202 ...