routeRanges property

List<int> get routeRanges

Route range values for isoline/isochrone calculations.

Specifies range limits for computing reachable areas. Units depend on the routeType:

Default is an empty list (no range calculation).

Also see:

Implementation

List<int> get routeRanges {
  final OperationResult resultString = objectMethod(
    pointerId,
    'RoutePrefWrapper',
    'getRouteRanges',
  );
  return (resultString['result']['list'] as List<dynamic>)
      .map((final dynamic item) => item as int)
      .toList();
}
set routeRanges (List<int> value)

Route range values for isoline/isochrone calculations.

Specifies range limits for computing reachable areas. Units depend on the routeType:

Parameters

  • value: List of range values in units based on route type.

Default is an empty list (no range calculation).

Also see:

Implementation

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