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 Summary
Modifier and TypeFieldDescriptionprotected final org.locationtech.jts.geom.Coordinate
protected final Extent
protected final double
protected final double
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionMapMoveEndEvent
(GeoMap source, boolean fromClient, org.locationtech.jts.geom.Coordinate center, Extent extent, double zoom, double rotation) -
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
Methods inherited from class java.util.EventObject
toString
-
Field Details
-
center
protected final org.locationtech.jts.geom.Coordinate center -
extent
-
zoom
protected final double zoom -
rotation
protected final double rotation
-
-
Constructor Details
-
MapMoveEndEvent
-
-
Method Details
-
getCenter
public 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
-
getZoom
public double getZoom()- Returns:
- zoom level
-
getRotation
public double getRotation()- Returns:
- rotation value in radians
-