Add configuration for terrain limit line opacity

This commit is contained in:
Roger Howell
2023-05-05 15:07:59 +01:00
committed by wiedehopf
parent 7a75b5427e
commit e4a4d43577
3 changed files with 3 additions and 1 deletions

View File

@@ -6582,7 +6582,7 @@ function drawUpintheair() {
let color = range_outline_color;
if (range_outline_colored_by_altitude) {
let colorArr = altitudeColor(altitude);
color = 'hsl(' + colorArr[0].toFixed(0) + ',' + colorArr[1].toFixed(0) + '%,' + colorArr[2].toFixed(0) + '%)';
color = 'hsla(' + colorArr[0].toFixed(0) + ',' + colorArr[1].toFixed(0) + '%,' + colorArr[2].toFixed(0) + '%,' + range_outline_alpha + ')';
}
let outlineStyle = new ol.style.Style({
fill: null,