polyline.toString()

Returns the polyline as a string in the form x1@y1,x2@y2,....