# MapContext

The map context. Provided by `MapView`; read it with [`useMap`](https://docs.mapcairn.com/api/map/useMap.md).

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

## Signature

```ts
import { MapContext } from "@mapcairn/map";
 
MapContext: Context<MapContextValue | null>
```

## See also

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

Source: [packages/map/src/host/MapContext.ts:73](https://github.com/MapCairn/mapcairn/blob/main/packages/map/src/host/MapContext.ts#L73)
