leaflet.elevation: disable sync from track for now; force master in bower

(master: 0.0.4, relases: 0.0.3, bower.json: 0.0.2); use lowercase as in registry
This commit is contained in:
Norbert Renner 2015-05-23 13:31:26 +02:00
parent eee87fab7f
commit 929ef35a12
2 changed files with 14 additions and 3 deletions

View file

@ -21,7 +21,10 @@ BR.Elevation = L.Control.Elevation.extend({
}
if (track && track.getLatLngs().length > 0) {
this.addData(track.toGeoJSON(), layer);
// TODO disabled track layer mouseover, as it doesn't really work
// with line marker and indicator does not get removed (no mouseout?)
//this.addData(track.toGeoJSON(), layer);
this.addData(track.toGeoJSON());
}
}
});