# MapTileLayerUnavailable

What [`MapEvents`](https://docs.mapcairn.com/api/core/MapEvents.md) carries.

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

## Signature

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

## Properties

### layerId

```ts
readonly layerId: string;
```

The id the layer was set under with `setTileLayer`.

### tiles

```ts
readonly tiles: string;
```

The [`MapTileOverlay`](https://docs.mapcairn.com/api/core/MapTileOverlay.md) template the failed tiles were drawn
from, so a report that arrives after the layer was set again can be told
from one for what is on the map now.

Source: [packages/core/src/ports/map.ts:114](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/ports/map.ts#L114)
