Autodesk 15606-011408-9300 Developer Guide - Page 95
Creating an HTML to Display the Map, Seeing the Results
UPC - 606121429548
View all Autodesk 15606-011408-9300 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 95 highlights
Creating an HTML Page to Display the Map The last step is to create an HTML page to display our map. The following is for the parcel_map.htm file: ColdFusion Example Querying and Displaying Data via the Map This example uses ColdFusion to access an Autodesk MapGuide Report Seeing the Results Users can now generate a report for one or more map features by selecting the map features, right-clicking and choosing View ➤ Reports from the popup menu, and then selecting Parcel Data (CF). The following illustration shows parcel_map.htm in the Web browser. Creating Report Scripts with ColdFusion | 95
Creating Report Scripts with ColdFusion
|
95
Creating an HTML Page to Display the Map
The last step is to create an HTML page to display our map. The following is
for the
parcel_map.htm
file:
<HTML>
<HEAD><TITLE>ColdFusion Example</TITLE></HEAD>
<BODY>
<H1>Querying and Displaying Data via the Map</H1>
<P>This example uses <b>ColdFusion</b> to access an Autodesk
MapGuide Report</P>
<!-- embedded map -->
<OBJECT ID="map" WIDTH=600 HEIGHT=250
CLASSID="CLSID:62789780-B744-11D0-986B-00609731A21D">
<PARAM NAME="URL"
<EMBED SRC="http://www.yourserver.com/maps/StarterApp.mwf
NAME="map" WIDTH=600 HEIGHT=250>
</OBJECT>
</BODY>
</HTML>
Seeing the Results
Users can now generate a report for one or more map features by selecting
the map features, right-clicking and choosing View
➤
Reports from the
popup menu, and then selecting Parcel Data (CF).
The following illustration shows
parcel_map.htm
in the Web browser.