MagneticVariation

Applies to

GPSHeading objects

Description

The MagneticVariation property specifies the magnetic variation in degrees. Magnetic variation is the difference between the magnetic heading and the true heading. If the GPS device does not support measurement of the magnetic variation, this value is 0.

Usage


In scripts

The MagneticVariation property takes a real value in the range 0.0 to 180.0 degrees:

real mVariation
GPSHeading myGPSHeading

mVariation = myGPSHeading.MagneticVariation