The FixedLatLng type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FixedLatLng(LatLng) | Initializes a new instance of the FixedLatLng class | |
FixedLatLng(Int32, Int32) | Initializes a new instance of the FixedLatLng class |
Methods
Name | Description | |
---|---|---|
ArcDistance(LatLng) |
Calculates the distance between two lat/lng's in miles.
(Inherited from LatLng.) | |
ArcDistance(LatLng, DistanceUnits) |
Calculates the distance between two lat/lng's in miles or meters.
(Inherited from LatLng.) | |
CalculateMidpoint | (Overrides LatLng..::..CalculateMidpoint(LatLng).) | |
Copy | (Overrides LatLng..::..Copy()()()().) | |
DoubleToFixed | ||
Equals | (Overrides LatLng..::..Equals(Object).) | |
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.) | |
FixedToDouble | ||
GetFixedLat | (Overrides LatLng..::..GetFixedLat()()()().) | |
GetFixedLng | (Overrides LatLng..::..GetFixedLng()()()().) | |
GetHashCode | (Overrides LatLng..::..GetHashCode()()()().) | |
GetLat | (Overrides LatLng..::..GetLat()()()().) | |
GetLng | (Overrides LatLng..::..GetLng()()()().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsFixedPoint | (Overrides LatLng..::..IsFixedPoint()()()().) | |
IsNormalized | (Overrides LatLng..::..IsNormalized()()()().) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Normalize | (Overrides LatLng..::..Normalize()()()().) | |
SetLng | ||
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).
(Inherited from LatLng.) | |
ToFixed | (Overrides LatLng..::..ToFixed()()()().) | |
ToFloat | (Overrides LatLng..::..ToFloat()()()().) | |
ToString | (Inherited from LatLng.) |
Fields
Name | Description | |
---|---|---|
ScaleFactor | ||
ScaleFactorInt |