Fix palette
This commit is contained in:
parent
116ec774ad
commit
c473f77a4d
1 changed files with 2 additions and 2 deletions
|
@ -209,8 +209,8 @@ public class RouteColorize {
|
||||||
}
|
}
|
||||||
setPalette(new double[][] {
|
setPalette(new double[][] {
|
||||||
{minValue, gradientPalette[0]},
|
{minValue, gradientPalette[0]},
|
||||||
{colorizationType == ColorizationType.SLOPE ? 12.5 : (minValue + maxValue) / 2},
|
{colorizationType == ColorizationType.SLOPE ? 0 : (minValue + maxValue) / 2},
|
||||||
{maxValue, gradientPalette[0]}
|
{maxValue, gradientPalette[2]}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue