Add confidence interval
Some checks reported errors
FarmMaps.Develop/FarmMapsLib/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
Willem Dantuma
2020-05-26 17:19:07 +02:00
parent 705d811832
commit f1bfc9fec0
3 changed files with 12 additions and 9 deletions

View File

@@ -86,6 +86,10 @@ export class LegendComponent implements OnInit,AfterViewInit {
showHistogram(): boolean {
return this.histogramenabled && this.layer.renderer.band.histogram.entries && this.layer.renderer.band.histogram.entries.length > 0 && this.layer.renderer.colorMap.colormapType == "minmax";
}
showConfidenceInterval():boolean {
return this.histogramenabled && this.layer.renderer.band.histogram.confidence != null && this.layer.renderer.band.histogram.confidence != 1;
}
}