🚀. Socket Launch Week Day 3:Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions.Learn more
Sign In

openlayers-wind

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openlayers-wind

ol3-ol4 wind

latest
Source
npmnpm
Version
1.1.7
Version published
Maintainers
1
Created
Source

ol3-4-wind

openlayers wind layer adapter

Usage

Install

pnpm i openlayers-wind -S

Example

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'
});

Keywords

openlayers

FAQs

Package last updated on 28 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts