Skip to main content

PointStyle

How a feed's points are drawn, and so what its legend says.

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

Signature​

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

interface PointStyle

Properties​

colour​

readonly colour: CategoryColour | StepColour | FixedColour;

The rule that picks each point's colour.

shape​

readonly shape?: MarkerShape;

The shape when the colour rule names none. Defaults to circle.

size​

readonly size?: SizeStops;

Defaults to a fixed radius of 6 pixels.

See also​

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