Magnetic(Double, Double, DateTime, Double, Double) Constructor

Initializes a magnetic object based on a signed lat/long, date, time offset, height in meters and the latest data model. Assume WGS84 datum earth shape for calculations.

Definition

Namespace: CoordinateSharp.Magnetic
Assembly: CoordinateSharp.Magnetic (in CoordinateSharp.Magnetic.dll) Version: 2.1.1.0
XMLNS for XAML: Not mapped to an xmlns.
C#
public Magnetic(
	double lat,
	double lng,
	DateTime date,
	double offset,
	double height
)

Parameters

lat  Double
Latitude
lng  Double
Longitude
date  DateTime
DateTime
offset  Double
UTC Offset in Hours
height  Double
Height in Meters

See Also