diff --git a/js/plugin/RoutingPathQuality.js b/js/plugin/RoutingPathQuality.js index 936f481..d1b7944 100644 --- a/js/plugin/RoutingPathQuality.js +++ b/js/plugin/RoutingPathQuality.js @@ -18,12 +18,14 @@ BR.RoutingPathQuality = L.Control.extend({ icon: 'fa-line-chart', provider: new HotLineQualityProvider({ hotlineOptions: { - min: -15, - max: 15, + min: -8.5, + max: 8.5, // angle in degree, == 15% incline palette: { - 0.0: '#ff0000', - 0.5: '#00ff00', - 1.0: '#ff0000' + 0.0: '#0000ff', // blue + 0.25: '#00ffff', // cyan + 0.5: '#00ff00', // green + 0.75: '#ffff00', // yellow + 1.0: '#ff0000' // red }, renderer: renderer },