# BasemapAvailabilityProvider

Keeps which basemaps are not working, for the picker (which disables their
tiles) and for the app (which marks a basemap whose tiles all failed).
[`ServicesProvider`](https://docs.mapcairn.com/api/map/ServicesProvider.md) mounts it, so every component below can read it.

This is a function exported by `@mapcairn/map`, checked against version 0.2.0.

## Signature

```ts
import { BasemapAvailabilityProvider } from "@mapcairn/map";
 
function BasemapAvailabilityProvider(input: {
    readonly children: ReactNode;
}): JSX.Element;
```

## Parameters

- `{ children, }`
- `input` (`{
    readonly children: ReactNode;
}`)

## Returns

`JSX.Element`

Source: [packages/map/src/services/basemapAvailability.tsx:44](https://github.com/MapCairn/mapcairn/blob/main/packages/map/src/services/basemapAvailability.tsx#L44)
