PolyLine Example

Code:

$(document).ready(function() { 
    $('#map_canvas').googleMaps({
        polyline: {
            startLatitude: 	37.4419,
            endLatitude:	37.4519,
            endLongitude:	-122.1519,
            color: 			'#ff0000',
            pixels: 		2
        },
    }); 
});