The LatLng type exposes the following members.
Constructors
Methods
Name | Description | |
---|---|---|
ArcDistance(LatLng) |
Calculates the distance between two lat/lng's in miles.
| |
ArcDistance(LatLng, DistanceUnits) |
Calculates the distance between two lat/lng's in miles or meters.
| |
CalculateMidpoint |
Calculate the midpoint between this point an another. Respects fixed vs floating point
| |
Copy | ||
Equals | ||
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
FromCartesian |
The inverse of ToCartesian(). Always returns a FixedLatLng.
| |
GetFixedLat | ||
GetFixedLng | ||
GetHashCode | ||
GetLat | ||
GetLng | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsFixedPoint | ||
IsNormalized | ||
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Normalize | ||
ToCartesian |
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).
| |
ToFixed | ||
ToFloat | ||
ToString | (Overrides Object..::..ToString()()()().) |