deviation property

int get deviation

Get deviation in meters from reference coordinates to the landmark object

The deviation is equal with distance except when the landmark is related to a route (e.g. an alarm along route) in which case is calculated as a straight line distance between the landmark and the closest point on the route

Returns

  • Distance in meters as an integer.

Implementation

int get deviation {
  final OperationResult resultString = objectMethod(
    pointerId,
    'LandmarkPosition',
    'getDeviation',
  );

  return resultString['result'];
}