title: Drawing a path with a line in OpenLayers using JavaScript
body: <p>I have seen the examples presented <a href="http://openlayers.org/dev/examples/draw-feature.html" rel="noreferrer">here</a> of how to draw a line but the examples only show how to do it with the mouse, by clicking.</p>
  
  <p>What I want to do is <strong>draw the line manually using JavaScript given a list of Longitude and Latitude coordinates</strong>.</p>
  
  <p>The reason I cannot work on the source provided in the link above is because they are only calling <code>activate</code> on the feature, and then let the user point and click on the map.</p>
  
  <p>Has anyone ever drew a path on an OpenLayers map programatically? </p>
  
  <p>What I want to do is exactly this: <a href="http://openspace.ordnancesurvey.co.uk/openspace/example4.html" rel="noreferrer">http://openspace.ordnancesurvey.co.uk/openspace/example4.html</a>, but without using OpenSpace.</p>