Skip to main content

SizeStops

Marker radius by value: the radius of the last stop at or below the value.

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

Signature​

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

interface SizeStops

Properties​

field​

readonly field: string;

The numeric field the radius is read from.

labels​

readonly labels: readonly DefinitionText[];

Legend label for each stop, such as Magnitude 4.5 and above.

stops​

readonly stops: readonly (readonly [number, number])[];

Pairs of [minimum value, radius in pixels], ascending.

See also​

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