applyJamStyle static method

void applyJamStyle(
  1. PolylineMapObject polyline,
  2. JamStyle style
)

Applies the traffic jam style. Updates colors for traffic jam types provided in the style parameter.

Implementation

static void applyJamStyle(mapkit_map_polyline.PolylineMapObject polyline,
    mapkit_navigation_jam_style.JamStyle style) {
  _applyJamStyle(
    polyline,
    style,
  );
}