| MGDigitizePointObserver.onDigitizedPoint |
|
public abstract void onDigitizedPoint(MGMap map, MGPoint point)
The point-digitizing observer method. It is initiated by a call to digitizePoint.
This topic describes this event for Plug-In and Java Edition only. For ActiveX Control, see onDigitizedPoint.
Plug-In and Java Edition only
map - The map object for which the event occurred.
point - The MGPoint object for the digitized longitude/latitude coordinate pair.
none
To handle this event from the Plug-In or Java Edition, a Java object that implements the MGDigitizePointObserver interface must be passed to the digitizePoint method. The observer Java object should include the following:
<class_definition> implements MGDigitizePointObserver
{
// ...
public void onDigitizedPoint(MGMap map,
MGPoint point)
{
// 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.