Skip to main content

Legend

A layer's legend, derived from its style so the two cannot disagree.

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

Signature​

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

interface Legend

Properties​

entries​

readonly entries: readonly LegendEntry[];

The rows of the key, in the order the layer's style lists them.

See also​

Source: packages/core/src/layers/style.ts:67