code: public MultiPolylineMarkers addMultiPolylineToMapAsMarkers(
              GoogleMapShapeMarkers shapeMarkers, GoogleMap map,
              MultiPolylineOptions multiPolyline,
              MarkerOptions polylineMarkerOptions,
              PolylineOptions globalPolylineOptions) {
          MultiPolylineMarkers polylines = new MultiPolylineMarkers();
          for (PolylineOptions polylineOptions : multiPolyline
                  .getPolylineOptions()) {
              PolylineMarkers polylineMarker = addPolylineToMapAsMarkers(map,
                      polylineOptions, polylineMarkerOptions,
                      globalPolylineOptions);
              shapeMarkers.add(polylineMarker);
              polylines.add(polylineMarker);
          }
          return polylines;
      }
docs: Add a MultiPolylineOptions to the map as markers
  
  @param shapeMarkers          google map shape markers
  @param map                   google map
  @param multiPolyline         multi polyline options
  @param polylineMarkerOptions polyline marker options
  @param globalPolylineOptions global polyline options
  @return multi polyline markers