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

# 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.maptiler.com/sdk-js/modules/weather/api-reference/classes/WindLayer/)

## Related examples

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