Skip to content

Interface: PatchesOptions

Defined in: layers/patches.ts:49

Properties

color?

ts
optional color?: string | Color;

Defined in: layers/patches.ts:52

Default fill for patches without their own color/value.


colormap?

ts
optional colormap?: ColormapSpec;

Defined in: layers/patches.ts:54

Color patches by value through this colormap (choropleth).


domain?

ts
optional domain?: Range;

Defined in: layers/patches.ts:56

Value range mapped to [0,1] for the colormap. Defaults to the data min/max.


name?

ts
optional name?: string;

Defined in: layers/patches.ts:61


opacity?

ts
optional opacity?: number;

Defined in: layers/patches.ts:58

Fill opacity, 0..1. Default 1.


patches

ts
patches: Patch[];

Defined in: layers/patches.ts:50


renderType?

ts
optional renderType?: RenderType;

Defined in: layers/patches.ts:60

Buffer-usage hint; set "dynamic" when streaming via setData. Default "static".


yAxis?

ts
optional yAxis?: string;

Defined in: layers/patches.ts:62

MIT licensed. WebGL2 required.