slightly better smoothfactor

This commit is contained in:
Laura Klünder 2017-12-18 02:29:49 +01:00
parent 28f4eaeb28
commit afb23e5865

View file

@ -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();