com.google.gwt.maps.client.event
Class MapDoubleClickHandler.MapDoubleClickEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.google.gwt.maps.client.event.MapDoubleClickHandler.MapDoubleClickEvent
All Implemented Interfaces:
java.io.Serializable
Enclosing interface:
MapDoubleClickHandler

public static class MapDoubleClickHandler.MapDoubleClickEvent
extends java.util.EventObject

Encapsulates the arguments for the "click" event on a MapWidget.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MapDoubleClickHandler.MapDoubleClickEvent(MapWidget source, LatLng latlng)
           
 
Method Summary
 LatLng getLatLng()
          If the click is not on a marker, the geographical coordinates of the point that was clicked are passed in the point argument.
 MapWidget getSender()
          Returns the instance of the map that generated this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapDoubleClickHandler.MapDoubleClickEvent

public MapDoubleClickHandler.MapDoubleClickEvent(MapWidget source,
                                                 LatLng latlng)
Method Detail

getLatLng

public LatLng getLatLng()
If the click is not on a marker, the geographical coordinates of the point that was clicked are passed in the point argument.

Returns:
a point coordinate if the click was not over a marker, otherwise null.

getSender

public MapWidget getSender()
Returns the instance of the map that generated this event.

Returns:
the instance of the map that generated this event.