code: public static boolean setStyle(PolylineOptions polylineOptions, StyleRow style, float density) {
  
          if (style != null) {
  
              Color color = style.getColorOrDefault();
              polylineOptions.color(color.getColorWithAlpha());
  
              double width = style.getWidthOrDefault();
              polylineOptions.width((float) width * density);
  
          }
  
          return style != null;
      }
docs: Set the style into the polyline options
  
  @param polylineOptions polyline options
  @param style           style row
  @param density         display density: {@link android.util.DisplayMetrics#density}
  @return true if style was set into the polyline options