addJams static method

void addJams(
  1. PolylineMapObject polyline,
  2. DrivingRoute route
)

Add jams from provided route as stroke colors Behaviour is undefined if route.geometry does not equals polyline.geometry.

Implementation

static void addJams(mapkit_map_polyline.PolylineMapObject polyline,
    directions_driving_route.DrivingRoute route) {
  _addJams(
    polyline,
    route,
  );
}