---
title: "Pressure layer | Weather"
description: "Weather module pressure layer API reference."
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Pressure layer

The PressureLayer shows the atmospheric pressure in millibar (**mbar**) or hectopascal (**hPa**). Forecast for air pressure at mean sea level.

![Pressure layer](./pressure.webp)

**Example**

```js
import { PressureLayer } from "@maptiler/weather";

  // After creating a Map instance like in the `Getting Started`
  const layer = new PressureLayer(); // using default settings
```

## API reference

[Class PressureLayer](https://docs.maptiler.com/sdk-js/modules/weather/api-reference/classes/PressureLayer/)

## Related examples

-   [Weather pressure layer](https://docs.maptiler.com/sdk-js/examples/weather-pressure/)
-   [Weather layer switcher](https://docs.maptiler.com/sdk-js/examples/weather-layer-switcher/)
