MrMufflon / Leaflet.Elevation

Leaflet plugin to view height profile of GeoJSON- and GPX polylines using d3
http://mrmufflon.github.io/Leaflet.Elevation
MIT License
276 stars 83 forks source link

Hide position indicator on layer 'mouseout' #53

Open nrenner opened 8 years ago

nrenner commented 8 years ago

The position indicator/marker on the diagram remains at last position after hovering over the data layer on the map. This adds a mouseout listener to the layer to remove the diagram indicator.