Fix novalue
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
This commit is contained in:
parent
8907dca091
commit
cbf805e1ff
@ -76,7 +76,7 @@ export class ItemLayersComponent extends LayerGroupComponent implements OnChange
|
||||
getColorForValue(layer: ILayer, value: number): IColor {
|
||||
var color: IColor = { alpha:0,red:0,green:0,blue:0};
|
||||
if(layer.renderer.colorMap.entries.length>0) {
|
||||
color=layer.renderer.colorMap.noValue.color;
|
||||
color=layer.renderer.colorMap.noValue;
|
||||
}
|
||||
layer.renderer.colorMap.entries.forEach((entry) => {
|
||||
if(entry.value==value) {
|
||||
|
@ -54,7 +54,7 @@ export interface IGradientstop {
|
||||
|
||||
export interface IColorMap {
|
||||
gradient: IGradientstop[],
|
||||
noValue: IColorEntry,
|
||||
noValue: IColor,
|
||||
entries: IColorEntry[],
|
||||
colormapType: string
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user