code: public void addToGoogleMap(GoogleMap googleMap) {
      // add the polyline and keep a reference so it can be removed
      googlePolyline = googleMap.addPolyline(new PolylineOptions()
          .addAll(points)
          .width(strokeWidth)
          .color(strokeColor));
    }
docs: Add this polyline to the given {@link GoogleMap} instance
  
  @param googleMap the {@link GoogleMap} instance to which the polyline will be added