code: public static boolean setFeatureStyle(PolylineOptions polylineOptions, FeatureStyle featureStyle, float density) {
  
          boolean featureStyleSet = false;
  
          if (featureStyle != null) {
  
              featureStyleSet = setStyle(polylineOptions, featureStyle.getStyle(), density);
  
          }
  
          return featureStyleSet;
      }
docs: Set the feature style into the polyline options
  
  @param polylineOptions polyline options
  @param featureStyle    feature style
  @param density         display density: {@link android.util.DisplayMetrics#density}
  @return true if style was set into the polyline options