updatePolyline static method
void
updatePolyline(
- PolylineMapObject polyline,
- DrivingRoute route,
- JamStyle style, {
- required bool updateGeometry,
Sets a new geometry and colors for a polyline. If style.enabled = false, the polyline is drawn using the color for the Unknown traffic jam type. If updateGeometry = false, but route geometry differs from polyline geometry, then behaviour is undefined.
Implementation
static void updatePolyline(
mapkit_map_polyline.PolylineMapObject polyline,
directions_driving_route.DrivingRoute route,
mapkit_navigation_jam_style.JamStyle style, {
required core.bool updateGeometry,
}) {
_updatePolyline(
polyline,
route,
style,
updateGeometry: updateGeometry,
);
}