Calculates as position based on initial position, bearing and distance.

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

Syntax

C#
public static LatLng CalculatePoint(
	Marker start,
	double distance,
	double bearing,
	Units unit
)

Parameters

start
Type: Reimers.Google.Map..::..Marker
A Marker indicatingthe start position.
distance
Type: System..::..Double
The distance from Start in the desired Units.
bearing
Type: System..::..Double
The direction from Start.
unit
Type: Reimers.Core.Maps..::..Units
The Units used to indicate distance.

Return Value

A LatLng.

Remarks

The distance is destination is based on the mean radius of the Earth and may suffer from rounding errors. 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