Drawing a line between 2 points on a map

Just went through this and found out how to draw lines on the map