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.

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 a route, the threshold is the result's maximum distance from the target route. When searching around a position, the threshold is the result's maximum distance from the reference point. Default is the maximum value of int.

Parameters

  • IN value The threshold distance for the request.

Implementation

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