distance property

int get distance

Retrieves the distance from the reference coordinates to this landmark.

Returns

  • Distance in meters as an integer.

Implementation

int get distance {
  final OperationResult resultString = objectMethod(
    pointerId,
    'LandmarkPosition',
    'getDistance',
  );

  return resultString['result'];
}