Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

⛅ Leaflet map layer for showing radar and satellite data from Weather Underground

License

Notifications You must be signed in to change notification settings

davetimmins/leaflet-wunderground-layer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leaflet-wunderground-layer

npm

Leaflet map layer for showing radar and satellite data from Weather Underground

To use this add a reference to the wunderground.layer.js file then you can add it to your map

L.Wunderground.radar(
  {
    appId: 'YOUR_APP_ID',
    apiRef: 'YOUR_REF_ID'
  }).addTo(map);

To get an app/ref Id you can go to http://www.wunderground.com/weather/api/ to sign up for a free account

Example image

Options

Option Purpose
appId Required to identify your code to the wunderground API
apiRef Used to identify your app for referrals
opacity Change opacity of layer, default is 0.35

Get It

From here or install using npm

npm install leaflet-wunderground

Can I help to improve it and/or fix bugs?

Absolutely! Please feel free to raise issues, fork the source code, send pull requests, etc.

No pull request is too small. Even whitespace fixes are appreciated.

About

⛅ Leaflet map layer for showing radar and satellite data from Weather Underground

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published