Click or drag to resize

SphericalMercator Class

Spherical Mercator projection; the most common projection for online maps. Assumes that Earth is a sphere. Used by the EPSG:3857 CRS.
Inheritance Hierarchy
SystemObject
  GSF.GeoSphericalMercator

Namespace: GSF.Geo
Assembly: GSF.Geo (in GSF.Geo.dll) Version: 2.4.207.0 (2.4.207.0)
Syntax
public class SphericalMercator : IProjection
View Source

The SphericalMercator type exposes the following members.

Constructors
 NameDescription
Public methodSphericalMercatorInitializes a new instance of the SphericalMercator class
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodProject Projects the given coordinates onto the xy-coordinate system.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUnproject Unprojects the given point to the geographical coordinate system.
Top
Fields
 NameDescription
Public fieldStatic memberMaxLatitude The maximum latitude.
Public fieldStatic memberR Radius of the Earth (meters).
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also