| Viewer API Object Traversal Model |
|
The Autodesk MapGuide Viewer API exposes its functionality as a hierarchy of objects within Autodesk MapGuide Viewer. This hierarchy is represented in the following object traversal model.
Note that this is not an object-oriented inheritance model. Nothing is inherited from an object-oriented programming perspective.
You can use this object traversal model as a guide for traversing objects to get to a specific object. For example, from MGMap, you can access one of the MGMapLayerGroup objects by obtaining an MGCollection object containing all the MGMapLayerGroup objects using the MGMap.getMapLayerGroups method. Alternatively, you can access an MGMapLayerGroup object directly if you have its name by using the MGMap.getMapLayerGroup method.
To use this model, click an object to get detailed reference information, or refer to the Objects introduction for an alphabetical list of object descriptions.
Note: If you are developing an application with JavaScript or VBScript, these objects have no constructors (with the exception of MGPoint, MGCollection, and MGExtentEx objects). Only Autodesk MapGuide Viewer can instantiate Autodesk MapGuide objects: they cannot be constructed directly from JavaScript or VBScript.