routeRangesQuality property

int get routeRangesQuality

Quality level for route range calculations, from 0 to 100.

Controls the accuracy vs. performance trade-off for route range (isoline/isochrone) calculations. 0 is lowest quality (fastest), 100 is highest quality (most accurate).

Default is 100 (maximum quality).

Also see:

  • RouteType - Defines the type of route which affects the unit of route ranges.
  • RouteResultType - Indicates if the result is a path or range.
  • RouteBase.preferences - Contains the preferences used for route calculation.
  • routeRanges - List of route ranges thresholds used when generating route ranges.

Implementation

int get routeRangesQuality {
  final OperationResult resultString = objectMethod(
    pointerId,
    'RoutePrefWrapper',
    'getRouteRanges',
  );
  return resultString['result']['quality'];
}
set routeRangesQuality (int value)

Quality level for route range calculations, from 0 to 100.

Controls the accuracy vs. performance trade-off for route range (isoline/isochrone) calculations. 0 is lowest quality (fastest), 100 is highest quality (most accurate).

Parameters

  • value: Quality level from 0 to 100.

Default is 100 (maximum quality).

Also see:

  • RouteType - Defines the type of route which affects the unit of route ranges.
  • RouteResultType - Indicates if the result is a path or range.
  • RouteBase.preferences - Contains the preferences used for route calculation.
  • routeRanges - List of route ranges thresholds used when generating route ranges.

Implementation

set routeRangesQuality(final int value) {
  final Map<String, dynamic> rangeQuality = <String, dynamic>{
    'list': routeRanges,
    'quality': value,
  };
  objectMethod(
    pointerId,
    'RoutePrefWrapper',
    'routeranges',
    args: rangeQuality,
  );
}