Class GoogleMapAdvancedMarker.GoogleMapAdvancedMarkerRightClickEvent

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

@DomEvent("google-map-marker-rightclick") public static class GoogleMapAdvancedMarker.GoogleMapAdvancedMarkerRightClickEvent extends ClickEvent<GoogleMapAdvancedMarker>
Event called on marker's right click. On touch devices, a touch-and-hold on the marker fires it too.
See Also:
  • Constructor Details

    • GoogleMapAdvancedMarkerRightClickEvent

      public GoogleMapAdvancedMarkerRightClickEvent(GoogleMapAdvancedMarker source, boolean fromClient, @EventData("event.detail.domEvent.screenX") int screenX, @EventData("event.detail.domEvent.screenY") int screenY, @EventData("event.detail.domEvent.clientX") int clientX, @EventData("event.detail.domEvent.clientY") int clientY, @EventData("event.detail.domEvent.detail") int clickCount, @EventData("event.detail.domEvent.button") int button, @EventData("event.detail.domEvent.ctrlKey") boolean ctrlKey, @EventData("event.detail.domEvent.shiftKey") boolean shiftKey, @EventData("event.detail.domEvent.altKey") boolean altKey, @EventData("event.detail.domEvent.metaKey") boolean metaKey, @EventData("event.detail.latLng.lat()") double lat, @EventData("event.detail.latLng.lng()") double lon)
      Creates a new event with the right click data.
      Parameters:
      source - the marker that was right clicked
      fromClient - whether the event originated on the client side
      screenX - the screen X coordinate of the click
      screenY - the screen Y coordinate of the click
      clientX - the client X coordinate of the click
      clientY - the client Y coordinate of the click
      clickCount - the click count
      button - the mouse button
      ctrlKey - whether Ctrl key was pressed
      shiftKey - whether Shift key was pressed
      altKey - whether Alt key was pressed
      metaKey - whether Meta key was pressed
      lat - the latitude of the marker
      lon - the longitude of the marker
  • Method Details

    • getLatitude

      public double getLatitude()
    • getLongitude

      public double getLongitude()