| java.lang.Object | ||
| ↳ | com.carto.projections.Projection | |
| ↳ | com.carto.projections.EPSG3857 | |
EPSG:3857 is a Spherical Mercator projection coordinate system popularized by web services such as Google and later OpenStreetMap.
Z-coordinate denotes height in meters.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| EPSG3857() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| synchronized void | delete() | ||||||||||
| MapPos |
fromWgs84(MapPos wgs84Pos)
Transforms a position from the WGS84 coordinate system to the coordinate system of this projection.
| ||||||||||
| String |
getName()
Return name of this projection in Well-Known format.
| ||||||||||
| MapPos |
toWgs84(MapPos mapPos)
Transforms a position from the coordinate system of this projection to the WGS84 coordinate system.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.carto.projections.Projection
| |||||||||||
From class
java.lang.Object
| |||||||||||
Transforms a position from the WGS84 coordinate system to the coordinate system of this projection.
| wgs84Pos | The position in the WGS84 coordinate system. It should be encoded as longitude-latitude. |
|---|
Return name of this projection in Well-Known format. For example, as "EPSG:3857"
Transforms a position from the coordinate system of this projection to the WGS84 coordinate system.
| mapPos | The position in the coordinate system of this projection. |
|---|