Class Projection
java.lang.Object
io.jmix.mapsflowui.kit.component.model.Projection
- All Implemented Interfaces:
- CRS,- Serializable
Projection definition class.
 
For more details see: Projection docs
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetCode()getName()getUnits()voidsetAxisOrientation(String axisOrientation) Sets the axis orientation as specified in Proj4.voidSets the bounding extent that validity for the SRS.voidSets whether the projection is valid for the whole globe.voidsetMetersPerUnit(Double metersPerUnit) Sets the meters per unit for the SRS.voidSets the units.voidsetWorldExtent(Extent worldExtent) Sets the world extent for the SRS.withAxisOrientation(String axisOrientation) withExtent(Extent extent) SeesetExtent(Extent).withGlobal(Boolean global) SeesetGlobal(Boolean).withMetersPerUnit(Double metersPerUnit) SeesetUnits(Units).withWorldExtent(Extent worldExtent) 
- 
Field Details- 
code
- 
units
- 
extent
- 
axisOrientation
- 
global
- 
metersPerUnit
- 
worldExtent
 
- 
- 
Constructor Details- 
ProjectionInits instance with provided projection code.- Parameters:
- code- the SRS identifier code, e.g. "EPSG:3857".
 
 
- 
- 
Method Details- 
getCode- Returns:
- the SRS identifier code
 
- 
getUnits- Returns:
- units or nullif not set
 
- 
setUnitsSets the units.For more details see: Projection docs - Parameters:
- units- units to set
 
- 
withUnitsSeesetUnits(Units).- Parameters:
- units- units to set
- Returns:
- current instance
 
- 
getExtent- Returns:
- extent or nullif not set
 
- 
setExtentSets the bounding extent that validity for the SRS.For more details see: setExtent() docs - Parameters:
- extent- extent to set
 
- 
withExtentSeesetExtent(Extent).- Parameters:
- extent- extent to set
- Returns:
- current instance
 
- 
getAxisOrientation- Returns:
- axis orientation or nullif not set
 
- 
setAxisOrientationSets the axis orientation as specified in Proj4. For instance: "enu", "neu", etc.For more details see: Projection docs - Parameters:
- axisOrientation- axis orientation value
 
- 
withAxisOrientation- Parameters:
- axisOrientation- axis orientation value
- Returns:
- current instance
 
- 
getGlobal- Returns:
- is projection valid for the whole globe or nullif not set
 
- 
setGlobalSets whether the projection is valid for the whole globe.For more details see: setGlobal() docs - Parameters:
- global- global option
 
- 
withGlobalSeesetGlobal(Boolean).- Parameters:
- global- global option
- Returns:
- current instance
 
- 
getMetersPerUnit- Returns:
- meters per unit or nullif not set
 
- 
setMetersPerUnitSets the meters per unit for the SRS.For more details see: Projection docs - Parameters:
- metersPerUnit- meters per unit
 
- 
withMetersPerUnit- Parameters:
- metersPerUnit- meters per unit
- Returns:
- current instance
 
- 
getWorldExtent- Returns:
- world extent or nullif not set
 
- 
setWorldExtentSets the world extent for the SRS.For more details see: setWorldExtent() docs - Parameters:
- worldExtent- world extent
 
- 
withWorldExtent- Parameters:
- worldExtent- world extent
- Returns:
- current instance
 
- 
getName
 
-