# MapLayerState

One layer of a map, as a page reads it. In releases after `0.2.0`, not in `0.2.0` or any earlier release.

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

## Signature

```ts
import type { MapLayerState } from "@mapcairn/map";
 
interface MapLayerState
```

## Properties

### enabled

```ts
readonly enabled: boolean;
```

Whether the layer is turned on.

### id

```ts
readonly id: string;
```

The layer's id, as its definition gives it.

### status

```ts
readonly status: MapLayerStatus;
```

What the layer is doing.

## See also

- [`MapLayerStatus`](https://docs.mapcairn.com/api/map/MapLayerStatus.md)

Source: [packages/map/src/element/stores.ts:38](https://github.com/MapCairn/mapcairn/blob/main/packages/map/src/element/stores.ts#L38)
