heading property

double heading

The heading angle of the current location in degrees relative to north.

This is only applicable when the auto-pan mode is LocationDisplayAutoPanMode.compassNavigation. The value 0 means the device is pointed toward magnetic north, 90 means it is pointed due east, 180 means it is pointed due south, and so on. A negative value indicates that the heading could not be determined.

Implementation

double get heading {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_LocationDisplay_getHeading(_handle, errorHandler);
  });
}