I am playing with trying to get a weather overlay on the Leaflet map. From what I have read, it seems doable and I was curious if anyone in here has done it, and if so how?
I saw some older posts about implementing radar and satellite imagery on the map, but did not see any explanations on how to do so.
Thanks!
Leaflet Weather Overlay
-
- Posts: 8
- Joined: Tue Feb 24, 2015 3:06 am
Re: Leaflet Weather Overlay
I upgraded yesterday and found my weather overlay disabled, so would like to add a 'Me Too' to this thread.
If anyone has any information on how to restore this function, many of us would be very grateful.
Thanks in advance.
If anyone has any information on how to restore this function, many of us would be very grateful.
Thanks in advance.
Re: Leaflet Weather Overlay
I have just published some code for weather, ATC airspace, and other overlays for Leaflet here:
viewtopic.php?f=9&p=7883#p7883
viewtopic.php?f=9&p=7883#p7883
-
- Posts: 4
- Joined: Fri Aug 03, 2018 9:40 am
Re: Leaflet Weather Overlay
Very slick! Thank You!
I have everything showing up, except weather. The airspace and everything pulls up just fine. Is there another step?
I have everything showing up, except weather. The airspace and everything pulls up just fine. Is there another step?
Re: Leaflet Weather Overlay
For weather you need to register for an API key on Aerisweather and then insert your API key into the code at the marked point
-
- Posts: 4
- Joined: Fri Aug 03, 2018 9:40 am
Re: Leaflet Weather Overlay
Just saw that. Great. Works like a charm! Thank you!
-
- Posts: 16
- Joined: Tue Dec 20, 2016 3:36 am
Re: Leaflet Weather Overlay
I've modified Nitro99's code to use the free nexrad leaflet tile server at U of IA... see this post viewtopic.php?f=5&t=1859
Re: Leaflet Weather Overlay
Hi, thanks for the great bit of code!
Is there any easy way to implement a function to refresh the weather in regular intervals (1-5 minutes)? I can toggle the layer off then on manually to refresh, but in my install I'm setting it up as a view-only kiosk and would like to have updated weather.
Perhaps there's a bit of JS that can disable and re-enable the layer, based on a timer?
Is there any easy way to implement a function to refresh the weather in regular intervals (1-5 minutes)? I can toggle the layer off then on manually to refresh, but in my install I'm setting it up as a view-only kiosk and would like to have updated weather.
Perhaps there's a bit of JS that can disable and re-enable the layer, based on a timer?