# TILE_LAYER_SLOW_MS

How long, in milliseconds, a tile data layer may have tiles asked for and
none loaded before the adapter reports it as slow (`tileLayerSlow`). It runs
from the first tile asked for and is not pushed back by later ones, so it
measures how long the layer has had nothing to show. It is a judgement, not a
measured figure: long enough that a provider that is merely slow to render
a tile is not flagged, and well inside the time the map keeps painting for
a tile that never answers (the give-up wait in `repaintUntilIdle.ts`), which is counted from
the last tile asked for and so never ends before this does. The map keeps
repainting until then, so a tile answered late with a 404 can still turn the
report into `tileLayerUnavailable`.

This is a constant exported by `@mapcairn/adapter-maplibre`, checked against version 0.2.0.

## Signature

```ts
import { TILE_LAYER_SLOW_MS } from "@mapcairn/adapter-maplibre";
 
TILE_LAYER_SLOW_MS = 10000
```

Source: [packages/adapter-maplibre/src/tileLayerTraffic.ts:22](https://github.com/MapCairn/mapcairn/blob/main/packages/adapter-maplibre/src/tileLayerTraffic.ts#L22)
