| Observers and Event Methods |
|
This section describes the observer objects provided by Autodesk MapGuide. These observers are available for the Autodesk MapGuide Viewer Plug-In and Autodesk MapGuide Viewer,Java Edition. Observers for the Autodesk MapGuide Viewer, Java Edition are provided 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). Observers for the Autodesk MapGuide Viewer Plug-In are provided in the mapguide package, located in the npmapv32.zip file in the Netscape Plugins folder.
|
Implements the map layer-addition observer method onAddMapLayer. This method is called by when addMapLayer has completed its operation. |
|
|
Implements the busy state observer event onBusyStateChanged. The Autodesk MapGuide Plug-In calls onBusyStateChanged when the user activates a change in the busy state, usually by panning or zooming on a map. |
|
|
Implements the circle-digitizing observer method onDigitizedCircle. This method is called by when digitizeCircle in MGMap has completed its operation. |
|
|
Implements the point-digitizing observer method onDigitizedPoint. This method is called by when digitizePoint in MGMap has completed its operation. |
|
|
Replaced: Use MGDigitizePolygonObserverEx instead. Implements the polygon-digitizing observer method onDigitizedPolygon. |
|
|
Implements the polygon-digitizing observer method onDigitizedPolygon. This method is called by and Java Editions when digitizePolygonEx in MGMap has completed its operation. MGDigitizePolygonObserverEx replaces MGDigitizePolygonObserver. |
|
|
Replaced: Use MGDigitizePolylineObserverEx instead. Implements the polyline-digitizing observer method onDigitizedPolyline. |
|
|
Implements the polyline-digitizing observer method onDigitizedPolyline. This method is called by when digitizePolyline in MGMap has completed its operation. MGDigitizePolylineObserverEx replaces MGDigitizePolylineObserver. |
|
|
Implements the rectangle-digitizing observer method onDigitizedRectangle. This method is called by when digitizeRectangle in MGMap has completed its operation. |
|
|
Implements the double-click observer method onDoubleClickObject. This method is called by when the user has double-clicked on a map feature. |
|
|
Implements the map loaded observer method onMapLoaded. This method is called by when it loads an MWF file into the Autodesk MapGuide Viewer, prior to the first refresh. The Autodesk MapGuide Viewer, Java Edition provides this interface 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). |
|
|
Implements the printing observer methods onBeginLayout and onEndLayout. |
|
|
Implements the changed selection observer method onSelectionChanged. This method is called by when the selection of map features on the map is changed. |
|
|
Implements the changed view observer method onViewChanged. This method is called by when the map view has been updated or refreshed. |
|
|
Implements the changing view observer method onViewChanging. This method is called by before each refresh. |
|
|
Implements the view distance observer method onViewedDistanceEx. This method is called by the viewDistanceEx method. |
|
|
Implements the view distance observer method onViewedDistance. This method is called by the viewDistance method. |
|