Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
leaflet-weathericonslayer
Advanced tools
Current weather icons layer for Leaflet, based on OpenWeatherMap API
Current weather icons layer for Leaflet, based on OpenWeatherMap API. Partial rework of outdated sample script from OpenWeatherMap site.
As an OpenWeatherMap derivative work, licenced with Creative Commons BY-SA 2.0. OpenWeatherMap Terms of service apply.
map.addLayer(new L.WeatherIconsLayer());
Also, several options available. Here are the defaults shown:
map.addLayer(new L.WeatherIconsLayer({
apiKey: undefined, // OpenWeatherMap API key
host: 'http://openweathermap.org/', // API host
i18n: {...}, // object with translation strings, see code
units: 'metric', // or 'imperial'; temperature scale
temperatureDigits: 0, // how many decimal digits in temperature
maxAgeSeconds: 24*60*60, // 24h; how long the weather data is considered worth showing
}));
FAQs
Current weather icons layer for Leaflet, based on OpenWeatherMap API
The npm package leaflet-weathericonslayer receives a total of 1 weekly downloads. As such, leaflet-weathericonslayer popularity was classified as not popular.
We found that leaflet-weathericonslayer demonstrated a not healthy version release cadence and project activity because the last version was released 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.