Map Access for the Java Edition
|
35
Map Access for the Java Edition
You can access maps using Autodesk MapGuide Viewer, Java Edition in two
ways:
■
From an HTML page by embedding Autodesk MapGuide Viewer, Java Edi-
tion in the HTML page where the map is embedded. This approach is
described in “Map Display for the Java Edition” on page 24. In this case,
Autodesk MapGuide Viewer, Java Edition runs inside a Web browser.
■
Using Java by wrapping a Java applet around Autodesk MapGuide Viewer,
Java Edition as described in “Map Access Using Java” on page 38. Using
this approach, Autodesk MapGuide Viewer, Java Edition can run inside or
outside a Web browser.
Map Access from HTML
In an HTML page, you can simply embed Autodesk MapGuide Viewer, Java
Edition using the
<Applet>
tag. This approach provides the following
benefits:
■
You can post a map that most browsers and operating systems can access.
■
This is the simplest way to support Autodesk MapGuide Viewer, Java Edi-
tion. All you have to do is use the standard HTML
<Applet>
tag and set
MGMapApplet
as the code value.
Although this approach supports the greatest number of browser/platform
combinations, just displaying the map might not provide enough function-
ality for you. In this case, you might want to use JavaScript or JScript.
Using JavaScript or JScript
The JavaScript or JScript techniques for accessing maps described in “Map
Access for ActiveX Control and Plug-In” on page 32 also work for Autodesk
MapGuide Viewer, Java Edition since the object hierarchy is determined by
the browser, not by the version of the Autodesk MapGuide Viewer.
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 ...