
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
`Windelsis` is a JavaScript library that visualizes weather data on interactive maps using Leaflet. It provides tools to render temperature, precipitation, and wind velocity layers, as well as utilities for grid-based weather data management.
Windelsis is a JavaScript library that visualizes weather data on interactive maps using Leaflet. It provides tools to render temperature, precipitation, and wind velocity layers, as well as utilities for grid-based weather data management.
To use Windelsis in your project, install windelsis, or you can build the library and include it in your application.
npm install
npm run build
npm install windelsis
Use Windelsis to create a map with weather layers:
const { MapManager } = Windelsis;
const mapManager = new MapManager(map, fetch_function, options);
Can either be:
L.Map: Pass an existing Leaflet map instance if the map is already created.This flexibility allows you to let Windelsis handle map creation or integrate it with an existing Leaflet map setup.
This function retrieves weather data based on two parameters:
latitude and longitude.It must return data in the same order as received. If fetch_function is null, the library defaults to openMeteoApiCaller from apiService.js, which fetches data from the Open-Meteo API without requiring an API key.
This flexible approach allows you to source weather data from any provider, such as a database or a meteorological API.
The options parameter is an object that configures the behavior of the MapManager instance. It supports the following properties:
center ([latitude, longitude], required):
zoom (number, required):
randomData (boolean, optional):
true, the map will generate random weather data for testing purposes.false.demoMode (boolean, optional):
true, enables demo mode with preconfigured settings for testing.false.windyParameters (object, optional):
maxVelocity (number): Maximum wind velocity for the visualization.velocityScale (number): Scale factor for wind velocity.particleAge (number): Lifespan of particles in frames.lineWidth (number): Width of the wind lines.particleMultiplier (number): Multiplier for the number of particles.frameRate (number): Frame rate for the animation.maxBounds ([[lat1, lng1], [lat2, lng2]], optional):
null (no bounds).pointDistance (number, optional):
null (if not set, windelsis calculates it based on maxGrindPoints and the limits of the map).maxGridPoints (number, optional):
600.mapManager.getCurrentData()
//for now can fetch just one date for forecast
mapManager.getForecastData(forecastDate, forecastDate)
mapManager.getHourlyForecast(forecastDate, forecastDate, forecastTime)
Open the demo files in your browser. I use the Live Server extension in Visual Studio Code for a quick local server setup.
windelsis is possible because of things like:
This project is licensed under the MIT License.
FAQs
`Windelsis` is a JavaScript library that visualizes weather data on interactive maps using Leaflet. It provides tools to render temperature, precipitation, and wind velocity layers, as well as utilities for grid-based weather data management.
We found that windelsis demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.