# openlayers-wind

> ol3-ol4 wind

Latest version **1.1.8** (published 2026-11-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install openlayers-wind
pnpm add openlayers-wind
yarn add openlayers-wind
bun add openlayers-wind
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.1.8 |
| Published | 2026-11-19 |
| First published | 2020-02-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 175.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 714 |
| Author | sakitam-fdd |
| Maintainers | sakitam-fdd |
| Keywords | openlayers, ol, ol3, ol4, webgl, map, vis |

## Links

- npm: https://www.npmjs.com/package/openlayers-wind
- Repository: https://github.com/sakitam-fdd/wind-layer
- Homepage: https://github.com/sakitam-fdd/wind-layer#readme
- Issues: https://github.com/sakitam-fdd/wind-layer/issues
- npm.io page: https://npm.io/package/openlayers-wind

## Dependencies (1)

- [wind-core](https://npm.io/package/wind-core.md) 1.1.9

## Alternatives

- [postcss-color-hex-alpha](https://npm.io/package/postcss-color-hex-alpha.md) — 6.4M weekly downloads
- [randomcolor](https://npm.io/package/randomcolor.md) — 348.0K weekly downloads
- [bows](https://npm.io/package/bows.md) — 1.3K weekly downloads
- [ep_prefer_color_scheme](https://npm.io/package/ep_prefer_color_scheme.md) — 260 weekly downloads
- [coc-yank](https://npm.io/package/coc-yank.md) — 61 weekly downloads

## Recent versions

- 1.1.8 (latest) — 2026-11-19
- 1.1.7 — 2024-04-28
- 1.1.6 — 2024-04-14
- 1.1.5 — 2024-03-21
- 1.1.4 — 2024-03-17
- 1.1.3 — 2024-02-29
- 1.1.2 — 2022-11-26
- 1.1.1 — 2022-11-22
- 1.1.1-alpha.2 — 2021-04-09
- 1.1.1-alpha.1 — 2021-03-30
- 1.1.1-alpha.0 — 2021-03-26
- 1.1.0-alpha.0 — 2021-03-26
- 1.0.0-alpha.10 — 2020-07-05
- 1.0.0-alpha.9 — 2020-06-21
- 1.0.0-alpha.8 — 2020-06-21
- … 8 more at https://npm.io/package/openlayers-wind/versions

## README

# `ol3-4-wind`

> [openlayers](https://openlayers.org/) wind layer adapter

## Usage

### Install

```bash
pnpm i openlayers-wind -S
```

### Example

```js
import { WindLayer } from 'openlayers-wind';

const windLayer = new WindLayer(res, {
  forceRender: false,
  windOptions: {
    // colorScale: scale,
    velocityScale: 1 / 20,
    paths: 5000,
    // eslint-disable-next-line no-unused-vars
    colorScale: () => {
      // console.log(m);
      return '#ff473c';
    },
    width: 3,
    // colorScale: scale,
    generateParticleOption: false
  },
  map: map,
  // projection: 'EPSG:4326'
});
```

---
_Source: https://npm.io/package/openlayers-wind · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
