build to single distributables with gulp, check-in dist not bower_components
This commit is contained in:
parent
650bacd915
commit
b808fbe44e
143 changed files with 577 additions and 95319 deletions
|
|
@ -11,10 +11,10 @@ BR.Elevation = L.Control.Elevation.extend({
|
|||
theme: "steelblue-theme" //purple
|
||||
},
|
||||
|
||||
update: function(track) {
|
||||
update: function(track, layer) {
|
||||
this.clear();
|
||||
if (track && track.getLatLngs().length > 0) {
|
||||
this.addData(track.toGeoJSON());
|
||||
this.addData(track.toGeoJSON(), layer);
|
||||
}
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue