# 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/sdk/browser`, checked against version 0.2.0.

## Signature

```ts
import type { MapLayerState } from "@mapcairn/sdk/browser";
 
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/sdk/browser/MapLayerStatus.md)
