Autodesk 15606-011408-9300 Developer Guide - Page 35
Map Access for the Java Edition, Map Access from HTML, Using JavaScript or JScript
UPC - 606121429548
View all Autodesk 15606-011408-9300 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 35 highlights
Map Access for the Java Edition You can access maps using Autodesk MapGuide Viewer, Java Edition in two ways: I 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. I 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 tag. This approach provides the following benefits: I You can post a map that most browsers and operating systems can access. I This is the simplest way to support Autodesk MapGuide Viewer, Java Edi- tion. All you have to do is use the standard HTML 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 functionality 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. Map Access for the Java Edition | 35