Class MapMoveEndEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<GeoMap>
io.jmix.mapsflowui.component.event.MapMoveEndEvent
- All Implemented Interfaces:
- Serializable
An event is fired after the map is moved (e.g. after zooming, panning, dragging map).
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final org.locationtech.jts.geom.Coordinateprotected final Extentprotected final doubleprotected final doubleFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionMapMoveEndEvent(GeoMap source, boolean fromClient, org.locationtech.jts.geom.Coordinate center, Extent extent, double zoom, double rotation) 
- 
Method SummaryMethods inherited from class com.vaadin.flow.component.ComponentEventgetSource, isFromClient, unregisterListenerMethods inherited from class java.util.EventObjecttoString
- 
Field Details- 
centerprotected final org.locationtech.jts.geom.Coordinate center
- 
extent
- 
zoomprotected final double zoom
- 
rotationprotected final double rotation
 
- 
- 
Constructor Details- 
MapMoveEndEvent
 
- 
- 
Method Details- 
getCenterpublic org.locationtech.jts.geom.Coordinate getCenter()- Returns:
- current geographic center of the map
 
- 
getExtent- Returns:
- the extent (or bounding box) of the currently visible area
 
- 
getZoompublic double getZoom()- Returns:
- zoom level
 
- 
getRotationpublic double getRotation()- Returns:
- rotation value in radians
 
 
-