java.lang.Object
com.esri.arcgisruntime.geometry.SpatialReferences
Provides helper methods that return instances of the most common types of
SpatialReference
. They can be used
as an alternative to creating a SpatialReference by well-known ID or text.- Since:
- 100.0.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SpatialReference
Gets a SpatialReference representing the Web Mercator Auxiliary Sphere projected coordinate system.static SpatialReference
getWgs84()
Gets a SpatialReference representing the WGS 1984 geographic coordinate system.
-
Constructor Details
-
SpatialReferences
public SpatialReferences()
-
-
Method Details
-
getWgs84
Gets a SpatialReference representing the WGS 1984 geographic coordinate system. This spatial reference has a WKID of 4326.- Returns:
- a WGS 1984 SpatialReference object
- Since:
- 100.0.0
-
getWebMercator
Gets a SpatialReference representing the Web Mercator Auxiliary Sphere projected coordinate system. This spatial reference has a WKID of 3857.You may encounter legacy WKIDs 102100 or 102113, that also refer to this same spatial reference.
- Returns:
- a Web Mercator Auxiliary Sphere SpatialReference object
- Since:
- 100.0.0
-