thresholdDistance property

int get thresholdDistance

Get the threshold distance for the request.

Default is the maximum value of int

Returns

  • The threshold distance for the request

Throws

  • An exception if it fails

Implementation

int get thresholdDistance {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'SearchPreferences',
    'getthresholddistance',
  );

  return resultString['result'];
}
set thresholdDistance (int value)

Set the threshold distance for the operation.

This may be used to control the reverse geocoding and search along route lookup area. When searching along route, the threshold is the result maximum distance from the target route When searching around position, the threshold is the result maximum distance from the reference point Default is the maximum value of int

Parameters

  • IN value The threshold distance for the request

Throws

  • An exception if it fails

Implementation

set thresholdDistance(final int value) {
  objectMethod(
    _pointerId,
    'SearchPreferences',
    'setthresholddistance',
    args: value,
  );
}