slightly better smoothfactor
This commit is contained in:
parent
28f4eaeb28
commit
afb23e5865
1 changed files with 2 additions and 1 deletions
|
@ -408,7 +408,8 @@ c3nav = {
|
||||||
line = L.polyline(latlngs, {
|
line = L.polyline(latlngs, {
|
||||||
color: gray ? '#888888': $('button.swap').css('color'),
|
color: gray ? '#888888': $('button.swap').css('color'),
|
||||||
dashArray: (gray || link_to_level) ? '7' : null,
|
dashArray: (gray || link_to_level) ? '7' : null,
|
||||||
interactive: false
|
interactive: false,
|
||||||
|
smoothFactor: 0.5
|
||||||
}).addTo(routeLayer)
|
}).addTo(routeLayer)
|
||||||
bounds = {};
|
bounds = {};
|
||||||
bounds[level] = line.getBounds();
|
bounds[level] = line.getBounds();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue