Calculates the distance between 2 Marker in the unit selected.

Namespace: Reimers.Google.Map.Accessories
Assembly: Reimers.Google.Map (in Reimers.Google.Map.dll) Version: (


public static double Distance(
	Marker start,
	Marker finish,
	Units unit

Return Value

Returns a Double value giving the distance between the Start and Finish Marker


The distance is calculated as the length of a great circle between 2 point. The distance calculation is based on the mean radius of the Earth. As such the calculation is not accurate for all points of the Earth. The distance should be used only as an indication and should never be used in navigation.

See Also