title: How to delete a selected shape in openlayers
body: <p>I'm currently seeing this example of openlayers ( <a href="http://openlayers.org/en/v3.14.2/examples/draw-features.html" rel="nofollow">http://openlayers.org/en/v3.14.2/examples/draw-features.html</a> ) whichs draws lines, circles etc. on the map. I edited the code to be able to select a drawing. I was wondering how can I delete a selected drawing? Here is how i select the drawing:</p>
  
  <pre><code>var select = new ol.interaction.Select();
  </code></pre>
  
  <p>Any ideas? Thanks!</p>