Go to previous topic Go to next topic

The Autodesk MapGuide Viewer API provides the following objects for Autodesk MapGuide Viewer development. Most objects apply to all three Autodesk MapGuide Viewer versions (ActiveX Control, Plug-In, and Java Edition). Three objects (MGMapApplet, MGMapComponent, and MGMapContext) apply only to the Java Edition.

All properties apply only to ActiveX Control development. Most, but not all methods apply to all three Autodesk MapGuide Viewer APIs. When there are differences, an Applies To field in the method description indicates which Autodesk MapGuide Viewers apply. For a summary of available APIs for the three Autodesk MapGuide Viewers, see API Summary for Autodesk MapGuide Viewers.

MGBufferSetup

Organizes the buffer setup properties, which control how Autodesk MapGuide Viewer creates buffers with the viewBuffer and viewBufferDlg methods and the popup menu View Buffer command.

MGCollection

Represents collections of objects, such as MGPoint, MGMapObject, Double, Integer, or any other type of object.

MGDatabaseSetup

Provides access to the database setup for map layers that are linked to database tables.

MGDwgDataSources

Implements methods and properties to support the use of DWG data sources.

MGEdgeAttr

Contains the polygon edge attributes used to draw buffer or redline polygons.

MGError

Contains error diagnostic information about the most recently executed API method.

MGExtent

Represents an extent of a map in lat/lon (X/Y) coordinates.

MGExtentEx

Represents spatial extents or a bounding box.

MGFillAttr

Contains the polygon fill attributes used to draw buffer or redline polygons.

MGLineAttr

Contains the attributes used to draw lines and polylines on redline layers.

MGMap

The top-level object of the API for the Autodesk MapGuide ActiveX Control, Plug-In, and Java Edition.

MGMapApplet

Applet that implements the MGMap interface in the Autodesk MapGuide Viewer, Java Edition API.

MGMapComponent

Instantiates Autodesk MapGuide Viewer as a user interface object in the Autodesk MapGuide Viewer, Java Edition API. MGMapComponent extends the Component class and implements the MGMap interface.

MGMapContext

Java interface whose methods provide browser services to MGMapComponent in theAutodesk MapGuide Viewer, Java Edition API.

MGMapLayer

Represents a layer on the map.

MGMapLayerGroup

Represents a map layer group.

MGMapLayerSetup

Provides run-time access to the map layer setup.

MGMapLayerStyle

Provides access to the display scale range of a map layer style.

MGMapObject

Represents a feature on the map, such as a point, polyline, polygon, or text feature.

MGPageElement

Represents a page element on the printout.

MGPageSetup

Organizes the Page Setup properties, which control how Autodesk MapGuide prints maps.

MGPoint

Represents a point on the map expressed in MCS or lat/lon coordinates.

MGPrimitive

Provides access to the individual primitives that make up a multi-primitive feature.

MGPrintInfo

Provides information about the current print operation.

MGPrintLayout

Controls the layout of the page elements on the printout.

MGRedlineSetup

Provides access to the style information used to create features on a redline layer.

MGSelection

Represents the list of selected map features.

MGSymbolAttr

Contains the attributes used to draw symbols on redline layers.

MGTextAttr

Contains the attributes used to draw text on redline layers.