---
title: "Wind layer | Weather"
description: "Weather module wind layer API reference."
---

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

# Wind layer

The WindLayer shows the atmospheric wind speed in meter per second (**m/s**). Forecast for speed and direction at an altitude of 10 m above ground.

The WindLayer contains both a background to which is applied a color ramp and a set of moving particles, for this reason, the constructor WindLayer has more options that then other weather layers.

![Wind layer](./wind.webp)

**Example**

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

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

## API reference

[Class WindLayer](https://docs-qmgv.pages.dev/sdk-js/modules/weather/api-reference/classes/WindLayer/)

## Related examples

-   [Weather wind layer](https://docs-qmgv.pages.dev/sdk-js/examples/weather-wind/)
-   [Weather wind and temperature layer](https://docs-qmgv.pages.dev/sdk-js/examples/weather-wind-temperature/)
-   [Weather wind show direction arrow](https://docs-qmgv.pages.dev/sdk-js/examples/weather-wind-direction/)
-   [Weather layer switcher](https://docs-qmgv.pages.dev/sdk-js/examples/weather-layer-switcher/)
