| MGBusyStateChangedObserver.onBusyStateChanged |
|
void onBusyStateChanged(MGMap map, boolean busyState)
The busy state observer event method.
Autodesk MapGuide enters busy states when users pan or zoom to view more map data.
This topic describes this event for Plug-In and Java Edition only. For ActiveX Control, see onBusyStateChanged.
Plug-In and Java Edition only
map - The map object that this event applies to.
busyState - The current busy state of Autodesk MapGuide Viewer.
none
To handle this event from the Plug-In or Java Edition, a Java object that implements the MGBusyStateChangedObserver interface must be established with a call to the setBusyStateChanged method. The observer Java object should include the following:
<class_definition> implements MGBusyStateChangedObserver
{
...
public void onBusyStateChanged(MGMap map, boolean busyState)
{
// event handling code here...
}
// ...
}
The simplest way to include the observer object in a Web page is to implement it as an applet. See Advanced Examples for a fully functional observer object that supports all of the observer interfaces by forwarding the events back to JavaScript functions that have identical semantics to the ActiveX Control event handlers.
getBusyStateChangedObserver, setBusyStateChangedObserver