Skip to content

Interface: LayerUpdateParams ​

Defined in: src/display/types/display.ts:9

Parameters for updating layer properties

Properties ​

range? ​

ts
optional range?: [number, number];

Defined in: src/display/types/display.ts:11

Value range for display [min, max]


threshold? ​

ts
optional threshold?: [number, number];

Defined in: src/display/types/display.ts:13

Threshold range [min, max]


alpha? ​

ts
optional alpha?: number;

Defined in: src/display/types/display.ts:15

Opacity/alpha value (0-1)


colormap? ​

ts
optional colormap?: string | ColorMap;

Defined in: src/display/types/display.ts:17

Colormap name or ColorMap instance


visible? ​

ts
optional visible?: boolean;

Defined in: src/display/types/display.ts:19

Visibility flag


interpolation? ​

ts
optional interpolation?: "nearest" | "linear" | "cubic";

Defined in: src/display/types/display.ts:21

Interpolation method

Released under the MIT License.