avoidGeofenceAntiAreas property

  1. @experimental
List<String> get avoidGeofenceAntiAreas

Get the geofence anti area avoidance ids list An anti area geofence is an area in which boundaries the route should remain during the calculation. If immutableRoadblockAvoidance == true and the route cannot stay in the requested boundaries, the routing will fail with GemError.noRoute Send an empty list to disable geofence anti area avoidance

Implementation

@experimental
List<String> get avoidGeofenceAntiAreas {
  final OperationResult resultString = objectMethod(
    pointerId,
    'RoutePrefWrapper',
    'getAvoidGeofenceAntiAreas',
  );
  return resultString['result'].cast<String>();
}
  1. @experimental
set avoidGeofenceAntiAreas (List<String> value)

Set avoidance of the given geofence anti area ids An anti area geofence is an area in which boundaries the route should remain during the calculation. If immutableRoadblockAvoidance == true and the route cannot stay in the requested boundaries, the routing will fail with GemError.noRoute Send an empty list to disable geofence anti area avoidance

Parameters

  • value: The geofence anti area ids to avoid

Implementation

@experimental
set avoidGeofenceAntiAreas(final List<String> value) {
  objectMethod(
    pointerId,
    'RoutePrefWrapper',
    'avoidGeofenceAntiAreas',
    args: value,
  );
}