Class AbstractMapClickEvent<C extends GeoMap>
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<C>
io.jmix.mapsflowui.component.event.AbstractMapClickEvent<C>
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- MapClickEvent,- MapDoubleClickEvent,- MapSingleClickEvent
public abstract class AbstractMapClickEvent<C extends GeoMap>
extends com.vaadin.flow.component.ComponentEvent<C>
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final org.locationtech.jts.geom.Coordinateprotected final MouseEventDetailsFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionAbstractMapClickEvent(C source, boolean fromClient, org.locationtech.jts.geom.Coordinate coordinate, MouseEventDetails mouseEventDetails) 
- 
Method SummaryModifier and TypeMethodDescriptionorg.locationtech.jts.geom.CoordinateGets the coordinate of click.Methods inherited from class com.vaadin.flow.component.ComponentEventisFromClient, unregisterListenerMethods inherited from class java.util.EventObjecttoString
- 
Field Details- 
coordinateprotected final org.locationtech.jts.geom.Coordinate coordinate
- 
mouseEventDetails
 
- 
- 
Constructor Details- 
AbstractMapClickEventpublic AbstractMapClickEvent(C source, boolean fromClient, org.locationtech.jts.geom.Coordinate coordinate, MouseEventDetails mouseEventDetails) 
 
- 
- 
Method Details- 
getSource
- 
getCoordinatepublic org.locationtech.jts.geom.Coordinate getCoordinate()Gets the coordinate of click. The coordinate will be in user projection (default is EPSG:4326) that can be changed byGeoMap.setProjection(CRS).- Returns:
- coordinate of the click
 
- 
getMouseEventDetails- Returns:
- mouse information
 
 
-