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 SummaryNested classes/interfaces inherited from class io.jmix.mapsflowui.kit.component.model.MapViewMapView.StateChangeEventNested classes/interfaces inherited from class io.jmix.mapsflowui.kit.component.model.MapObservableObjectMapObservableObject.ObjectChangeEvent
- 
Field SummaryFieldsFields inherited from class io.jmix.mapsflowui.kit.component.model.MapViewcurrentExtent, extent, maxZoom, minZoom, projection, rotation, zoomFields inherited from class io.jmix.mapsflowui.kit.component.model.MapObservableObjectchildren, dirty, eventBus, listener, metaProperties, parent, removedChildren, syncId
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionorg.locationtech.jts.geom.Coordinateprotected voidvoidsetCenter(org.locationtech.jts.geom.Coordinate center) Sets the map center.Methods inherited from class io.jmix.mapsflowui.kit.component.model.MapViewgetCurrentExtent, getExtent, getMaxZoom, getMinZoom, getProjection, getRotation, getType, getZoom, setExtent, setMaxZoom, setMinZoom, setProjection, setRotation, setZoomMethods inherited from class io.jmix.mapsflowui.kit.component.model.MapObservableObjectaddChild, addListener, clearRemovedChildren, clearRemovedChildrenInDepth, equals, fireChangeEvent, getChildren, getEventBus, getMetaProperties, getRemovedChildren, getSyncId, hashCode, isDirty, isDirtyInDepth, markAsDirty, markAsDirtyInDepth, removeChild, setMapObjectChangeListener, setMetaProperty, setParent, unmarkDirtyInDepth
- 
Field Details- 
centerprotected org.locationtech.jts.geom.Coordinate center
 
- 
- 
Constructor Details- 
GeoMapViewpublic GeoMapView()
 
- 
- 
Method Details- 
getCenterpublic org.locationtech.jts.geom.Coordinate getCenter()- Returns:
- map center
 
- 
setCenterpublic void setCenter(org.locationtech.jts.geom.Coordinate center) Sets the map center.For more details see: #setCenter() docs - Parameters:
- center- map center coordinate
 
- 
onStateChangeEvent- Overrides:
- onStateChangeEventin class- MapView
 
 
-