title: How to draw single line with OpenLayers3?
body: <p>In this example, you can draw a path using the LineString type:
  <a href="http://openlayers.org/en/v3.0.0/examples/draw-and-modify-features.html" rel="nofollow">http://openlayers.org/en/v3.0.0/examples/draw-and-modify-features.html</a></p>
  
  <p>I want to do the same but with only a single line between 2 points. The draw tool should automatically finish drawing after setting the second point. </p>
  
  <p>How can this be achieved?</p>