Go to parent topic

The Autodesk MapGuide Viewer, Java Edition works with Internet Explorer and Netscape Navigator, on Windows, MacOS®, and Solaris® systems. It exposes an API that is accessible from JScript, JavaScript, and Java. The API classes are defined in the com.autodesk.mgjava package, which is located in the mgjava.cab file (for Windows systems only) and the mgjava.jar file (for all platforms). All configurations expose the Autodesk MapGuide Viewer, Java Edition API to other Java code if it has been compiled to directly instantiate MGMapApplet or MGMapComponent. See "Accessing Maps" in the Autodesk MapGuide Developer's Guide for more information.

Depending on your application needs, Autodesk MapGuide Viewer, Java Edition applications may need certain Java files provided by Autodesk MapGuide. For more information about what files your application may need, go to Plug-In/Java Edition Downloadable Files.

Click here for a summary of APIs available in the three Autodesk MapGuide Viewers.

The Autodesk MapGuide Viewer, Java Edition is almost identical to the Autodesk MapGuide Viewer Plug-In API with the following exceptions:

Some objects and methods are implemented exclusively for the Autodesk MapGuide Viewer, Java Edition. Specifically, the following objects and methods are available only for this Autodesk MapGuide Viewer:

MGMapApplet

An applet that implements the MGMap interface.

MGMapComponent

Instantiates Autodesk MapGuide Viewer as a user interface object.

MGMapContext

A Java interface whose methods provide browser services to MGMapComponent.

MGMap.stopEx

Aborts any downloading or redrawing that is currently taking place.

The following methods are not available in the Autodesk MapGuide Viewer, Java Edition:

MGMap.stop

Aborts any downloading or redrawing that is currently taking place. Use MGMap.stopEx instead.

MGMap.saveMWF

Saves the map to a local MWF.