removed let
This commit is contained in:
parent
1828a642c3
commit
4fdd375b5c
2 changed files with 4 additions and 4 deletions
|
|
@ -371,7 +371,7 @@ BR.Routing = L.Routing.extend({
|
|||
this._removeDistanceMarkers();
|
||||
|
||||
if (this._map) {
|
||||
let distanceMarkersOpts = this.options.distanceMarkers || {};
|
||||
var distanceMarkersOpts = this.options.distanceMarkers || {};
|
||||
this._distanceMarkers = new L.DistanceMarkers(this.toPolyline(), this._map, distanceMarkersOpts);
|
||||
this._map.addLayer(this._distanceMarkers);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue