PositionDistanceAsMiles Method (Double, Double, Double, Double)

ZylGpsReceiver.NET Mobile
Returns the distance between two points in miles.

Namespace:  ZylSoft.Gps.Mobile
Assembly:  ZylGpsReceiverMobile (in ZylGpsReceiverMobile.dll) Version: 3.14.6846.29005
Syntax

public static double DistanceAsMiles(
	double latitude1,
	double longitude1,
	double latitude2,
	double longitude2
)

Parameters

latitude1
Type: SystemDouble
Latitude of the first point in decimal degrees.
longitude1
Type: SystemDouble
Longitude of the first point in decimal degrees.
latitude2
Type: SystemDouble
Latitude of the second point in decimal degrees.
longitude2
Type: SystemDouble
Longitude of the second point in decimal degrees.

Return Value

Type: Double
Distance in miles.
See Also

Reference