The LatLng type exposes the following members.

Methods

  NameDescription
Public methodArcDistance(LatLng)
Calculates the distance between two lat/lng's in miles.
Public methodArcDistance(LatLng, DistanceUnits)
Calculates the distance between two lat/lng's in miles or meters.
Public methodCalculateMidpoint
Calculate the midpoint between this point an another. Respects fixed vs floating point
Public methodCopy
Public methodEquals
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFromCartesian
The inverse of ToCartesian(). Always returns a FixedLatLng.
Public methodGetFixedLat
Public methodGetFixedLng
Public methodGetHashCode
Public methodGetLat
Public methodGetLng
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsFixedPoint
Public methodIsNormalized
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNormalize
Public methodToCartesian
Convert the lat/lng into the cartesian coordinate plane such that all world coordinates are represented in the first quadrant. The x dimension corresponds to latitude and y corresponds to longitude. The translation starts with the normalized latlng and adds 180 to the latitude and 90 to the longitude (subject to fixed point scaling).
Public methodToFixed
Public methodToFloat
Public methodToString (Overrides Object..::..ToString()()()().)

See Also