Skip to main content

FeatureOutline

One ring or line of a feature, ready to draw as a path.

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

Signature​

import type { FeatureOutline } from "@mapcairn/map";

interface FeatureOutline

Properties​

closed​

readonly closed: boolean;

True for a polygon ring, whose path closes.

points​

readonly points: readonly LatLng[];

The vertices, in order.

See also​

Source: packages/map/src/layers/mapFeatures.ts:80