Skip to main content

shapeAppearances

How every class of a style is drawn, in legend order, with defaults filled in. It carries no words, so it needs no language: it is what a map engine draws from.

This is a function exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import { shapeAppearances } from "@mapcairn/core";

function shapeAppearances(style: FeedShapeStyle): readonly ShapeAppearance[];

Parameters​

  • style (FeedShapeStyle)

Returns​

readonly ShapeAppearance[]

See also​

Source: packages/core/src/layers/shapeStyle.ts:152