# SavedFeatureSet

The features a file is built from, and whether the cap cut any.

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

## Signature

```ts
import type { SavedFeatureSet } from "@mapcairn/core";
 
interface SavedFeatureSet
```

## Properties

### capped

```ts
readonly capped: boolean;
```

True when `kept` is shorter than `total`.

### kept

```ts
readonly kept: readonly LayerFeature[];
```

The features that go in the file: the first [`MAX_SAVED_FEATURES`](https://docs.mapcairn.com/api/core/MAX_SAVED_FEATURES.md) at most.

### total

```ts
readonly total: number;
```

How many features the layer held.

## See also

- [`LayerFeature`](https://docs.mapcairn.com/api/core/LayerFeature.md)

Source: [packages/core/src/layers/saveFeatures.ts:49](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/layers/saveFeatures.ts#L49)
