Autodesk 15606-011408-9300 Developer Guide - Page 123
display Parcel Data ASP., which returns the appropriate map feature.
UPC - 606121429548
View all Autodesk 15606-011408-9300 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 123 highlights
The tag holds two JavaScript functions: getMap and runReport, which displays our Autodesk MapGuide report. The runReport function consists of two statements. The first statement writes a line of text to the right-hand frame of our report application, instructing users to select one or more map features. This instruction displays each time runReport is invoked, regardless of whether the user has selected features. If features are selected, the instructions are replaced in the frame by the contents of the newly generated report; otherwise, the instructions remain in the frame to provide feedback. Note parent refers to the top-level frame and Right is the name we specified for our right-hand frame in parcel_frames.htm. Refer to a third-party JavaScript manual for more information on writing to frames and windows. The second statement uses the viewReport method to run our report and begins by calling getMap, which returns the appropriate map feature. That feature is then passed to viewReport, which directs Autodesk MapGuide to display Parcel Data (ASP). Now that our function is defined, to call it we'll add a element to parcel_map.htm: