updatePolylines method

Future<List<Polyline?>> updatePolylines(
  1. List<Polyline> polylines
)

Update polylines to the map view.

Throws PolylineNotFoundException if the polylines list contains polyline that has not beed added to the map view via addPolylines or contains polyline that has already been removed from the map view.

Implementation

Future<List<Polyline?>> updatePolylines(List<Polyline> polylines) async {
  return GoogleMapsNavigationPlatform.instance
      .updatePolylines(viewId: _viewId, polylines: polylines);
}