org.zkoss.gmaps.event
Class MarkerDropEvent

java.lang.Object
  extended by org.zkoss.zk.ui.event.Event
      extended by org.zkoss.gmaps.event.MarkerDropEvent

public class MarkerDropEvent
extends org.zkoss.zk.ui.event.Event

Represents a Google Maps Gmaps related event which is triggered whenever the GMarker is dropped.

Author:
henrichen

Constructor Summary
MarkerDropEvent(java.lang.String name, org.zkoss.zk.ui.Component target, double lat, double lng)
          Constructs a Google Maps moving relevant event.
 
Method Summary
 double getLat()
          Returns the latitude of the Google Map center after moved.
 double getLng()
          Returns the longitude of the Google Map center after moved.
 
Methods inherited from class org.zkoss.zk.ui.event.Event
getData, getName, getPage, getTarget, isPropagatable, stopPropagation, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MarkerDropEvent

public MarkerDropEvent(java.lang.String name,
                       org.zkoss.zk.ui.Component target,
                       double lat,
                       double lng)
Constructs a Google Maps moving relevant event.

Method Detail

getLat

public double getLat()
Returns the latitude of the Google Map center after moved.


getLng

public double getLng()
Returns the longitude of the Google Map center after moved.



Copyright © 2005-2007 Potix Corporation. All Rights Reserved.