title: how to draw a line between two points in osm
body: <p>I want to draw a line between two point in osm map</p>
  
  <pre><code>map = new OpenLayers.Map();
  
  var start_point = new OpenLayers.Geometry.Point(0,10);
  var end_point = new OpenLayers.Geometry.Point(30,0);
  
  var vector = new OpenLayers.Layer.Vector();
  vector.addFeatures([new OpenLayers.Feature.Vector(new OpenLayers.Geometry.LineString([start_point, end_point]))]);
  map.addLayers([vector]);
  </code></pre>
  
  <p>I try this code but it did not work so please help me.</p>