MrMufflon/Leaflet.Elevation — pull request #10 by nrenner (2014-01-29 16:13:26+00:00)
Title: add clear to reset data and display

Adds new methods `clear` and `_clearData` that reset the data and the diagram.

Use-case is to update the diagram when editing a route and to reset to initial state when the route is deleted.

There might be better ways to implement this, I'm not very familiar with d3.