deviation property
Get deviation in meters from reference coordinates to the OverlayItem object.
The deviation is equal with distance except when the overlay is related to a route (e.g. an alarm along route) in which case is calculated as a straight line distance between the overlay and the closest point on the route
Returns
- Distance in meters as an int.
Implementation
int get deviation {
final OperationResult resultString = objectMethod(
pointerId,
'OverlayItemPosition',
'getDeviation',
);
return resultString['result'];
}