Skip to content

Interface: LabelLayerFactoryConfig ​

Defined in: LayerRegistry.ts:93

Common fields accepted by the built-in factory configurations.

Extends ​

Properties ​

type ​

ts
readonly type: "label";

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


labels ​

ts
labels: 
  | number[]
  | Int32Array<ArrayBufferLike>
  | Uint32Array<ArrayBufferLike>;

Defined in: LayerRegistry.ts:94


labelDefs ​

ts
labelDefs: object[];

Defined in: LayerRegistry.ts:95

id ​

ts
id: number;

color ​

ts
color: ColorRepresentation;

name? ​

ts
optional name?: string;

defaultColor? ​

ts
optional defaultColor?: ColorRepresentation;

Defined in: LayerRegistry.ts:96

Released under the MIT License.