code: public static PolylineOptions createPolylineOptions(FeatureStyle featureStyle, float density) {
  
          PolylineOptions polylineOptions = new PolylineOptions();
          setFeatureStyle(polylineOptions, featureStyle, density);
  
          return polylineOptions;
      }
docs: Create new polyline options populated with the feature style
  
  @param featureStyle feature style
  @param density      display density: {@link android.util.DisplayMetrics#density}
  @return polyline options populated with the feature style