Skip to content

Interface: TwoDataLayerFactoryConfig ​

Defined in: LayerRegistry.ts:99

Common fields accepted by the built-in factory configurations.

Extends ​

Properties ​

type ​

ts
readonly type: "twodata";

Defined in: LayerRegistry.ts:48

Inherited from ​

BuiltInLayerConfigBase.type


id ​

ts
readonly id: string;

Defined in: LayerRegistry.ts:49

Inherited from ​

BuiltInLayerConfigBase.id


visible? ​

ts
optional visible?: boolean;

Defined in: LayerRegistry.ts:54

Inherited from ​

BuiltInLayerConfigBase.visible


opacity? ​

ts
optional opacity?: number;

Defined in: LayerRegistry.ts:55

Inherited from ​

BuiltInLayerConfigBase.opacity


blendMode? ​

ts
optional blendMode?: BlendMode;

Defined in: LayerRegistry.ts:56

Inherited from ​

BuiltInLayerConfigBase.blendMode


order? ​

ts
optional order?: number;

Defined in: LayerRegistry.ts:57

Inherited from ​

BuiltInLayerConfigBase.order


presentation? ​

ts
optional presentation?: Partial<LayerPresentation>;

Defined in: LayerRegistry.ts:58

Inherited from ​

BuiltInLayerConfigBase.presentation


alpha? ​

ts
optional alpha?: number;

Defined in: LayerRegistry.ts:60

Deprecated ​

Use opacity. Kept only for legacy configuration input.

Inherited from ​

BuiltInLayerConfigBase.alpha


dataX ​

ts
dataX: Float32Array<ArrayBufferLike> | number[];

Defined in: LayerRegistry.ts:100


dataY ​

ts
dataY: Float32Array<ArrayBufferLike> | number[];

Defined in: LayerRegistry.ts:101


indices? ​

ts
optional indices?: number[] | Uint32Array<ArrayBufferLike> | null;

Defined in: LayerRegistry.ts:102


colorMap? ​

ts
optional colorMap?: 
  | ColorMap2DPreset
  | ColorMap2D;

Defined in: LayerRegistry.ts:103


cmap? ​

ts
optional cmap?: 
  | ColorMap2DPreset
  | ColorMap2D;

Defined in: LayerRegistry.ts:105

Deprecated ​

Use colorMap.


rangeX? ​

ts
optional rangeX?: [number, number];

Defined in: LayerRegistry.ts:106


rangeY? ​

ts
optional rangeY?: [number, number];

Defined in: LayerRegistry.ts:107


thresholdX? ​

ts
optional thresholdX?: [number, number];

Defined in: LayerRegistry.ts:108


thresholdY? ​

ts
optional thresholdY?: [number, number];

Defined in: LayerRegistry.ts:109

Released under the MIT License.