Skip to main content

FixedColour

One colour for every feature.

This is an interface exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import type { FixedColour } from "@mapcairn/core";

interface FixedColour

Properties​

colour​

readonly colour: PaletteSlot;

The palette slot every feature is drawn in.

kind​

readonly kind: "fixed";

Tells a fixed colour from the other rules.

label​

readonly label: DefinitionText;

The legend's entry for that colour.

See also​

Source: packages/core/src/layers/definition.ts:364