Skip to main content

isShapeStyle

Whether a feed layer's style draws polygons and lines rather than points.

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

Signature​

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

function isShapeStyle(style: PointStyle | FeedShapeStyle): style is FeedShapeStyle;

Parameters​

  • style (PointStyle | FeedShapeStyle)

Returns​

style is FeedShapeStyle

See also​

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