title: How to draw a polyline using the mouse and leaflet.js
body: <p>I would like to draw a polyline on a map with leaflet. The basic gesture that I would like to apply is:</p>
  
  <ul>
  <li><p>User clicks and holds on the mouse button -> that defines the first marker. If the user holds the mouse button, and moves the mouse, a corresponding "rubber band" is displayed.</p></li>
  <li><p>User releases the mouse button -> a second marker is added to the map and the 2 markers are linked by a line.</p></li>
  <li><p>Starting from the second marker, the user can continue building a second line using the the same procedure as above. </p></li>
  </ul>
  
  <p>The final result should be the set of coordinates/markers, linked by a polyline. </p>