Class GeoMapView
java.lang.Object
io.jmix.mapsflowui.kit.component.model.MapObservableObject
io.jmix.mapsflowui.kit.component.model.MapView
io.jmix.mapsflowui.component.model.GeoMapView
- All Implemented Interfaces:
Serializable
The class represents map's viewport. It provides methods for configuring map center,
zoom and rotation.
For more details see: View docs
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.mapsflowui.kit.component.model.MapObservableObject
MapObservableObject.ObjectChangeEvent
-
Field Summary
Fields inherited from class io.jmix.mapsflowui.kit.component.model.MapView
extent, maxZoom, minZoom, projection, rotation, zoom
Fields inherited from class io.jmix.mapsflowui.kit.component.model.MapObservableObject
children, dirty, eventBus, listener, metaProperties, removedChildren, syncId
-
Constructor Summary
-
Method Summary
Methods inherited from class io.jmix.mapsflowui.kit.component.model.MapView
getExtent, getMaxZoom, getMinZoom, getProjection, getRotation, getType, getZoom, setExtent, setMaxZoom, setMinZoom, setProjection, setRotation, setZoom
Methods inherited from class io.jmix.mapsflowui.kit.component.model.MapObservableObject
addChild, addListener, clearRemovedChildren, clearRemovedChildrenInDepth, equals, fireChangeEvent, getChildren, getEventBus, getMetaProperties, getRemovedChildren, getSyncId, hashCode, isDirty, isDirtyInDepth, markAsDirty, markAsDirtyInDepth, removeChild, setMapObjectChangeListener, setMetaProperty, unmarkDirtyInDepth
-
Field Details
-
center
protected org.locationtech.jts.geom.Coordinate center
-
-
Constructor Details
-
GeoMapView
public GeoMapView()
-
-
Method Details
-
getCenter
public org.locationtech.jts.geom.Coordinate getCenter()- Returns:
- map center
-
setCenter
public void setCenter(org.locationtech.jts.geom.Coordinate center) Sets the map center.For more details see: #setCenter() docs
- Parameters:
center
- map center coordinate
-