Skip to main content

FeatureFilter

Keeps the features whose decoded field equals one of in.

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

Signature​

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

interface FeatureFilter

Properties​

field​

readonly field: string;

The decoded field to test.

in​

readonly in: readonly (string | number)[];

The values that keep a feature. A feature whose field equals none of them is dropped.

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