Code example for PolylineOptions

Methods: width

0
     * @param width the int for the line width 
     * @param color the int representing the line color 
     * @return the new Polyline added to the map 
     */ 
    public Polyline addPolyline(PolylineOptions polylineOpt, int width, int color) {
	return mMap.addPolyline(polylineOpt.width(width).color(color));
    } 
     
    /** 
     * Used to trace an encoded polyline 
     * @param encodedPolyline the String containing the encoded points for the polyline to trace 
     * @param width the int for the line width 
     * @param color the int representing the line color 
     * @return the new Polyline added to the map 
     * @see addPolyline 
     */ 
    public Polyline addEncodedPolyline(String encodedPolyline, int width, int color) {
	return mMap.addPolyline(OverviewPolyline.decodePoly(encodedPolyline).width(width).color(color));
    } 
 
    /**