Class GoogleMapAdvancedMarker.DragEndEvent

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<GoogleMapAdvancedMarker>
com.flowingcode.vaadin.addons.googlemaps.GoogleMapAdvancedMarker.DragEndEvent
All Implemented Interfaces:
Serializable
Enclosing class:
GoogleMapAdvancedMarker

@DomEvent("google-map-marker-dragend") public static class GoogleMapAdvancedMarker.DragEndEvent extends ComponentEvent<GoogleMapAdvancedMarker>
Event that is called on marker's drag end.
See Also:
  • Constructor Details

    • DragEndEvent

      public DragEndEvent(GoogleMapAdvancedMarker source, boolean fromClient, @EventData("event.detail.latLng.lat()") double lat, @EventData("event.detail.latLng.lng()") double lon)
      Creates a new event with the drag end coordinates.
      Parameters:
      source - the marker that was dragged
      fromClient - whether the event originated on the client side
      lat - the latitude of the drag end
      lon - the longitude of the drag end
  • Method Details

    • getLatitude

      public double getLatitude()
    • getLongitude

      public double getLongitude()