Easy to understand HTML + JS code which display weather radar data on the map using the Leaflet.js library.
View rainviewer-api-example.html in your browser.
- How to download the latest available JSON with the map frame's timestamps.
- How to add tiled layers into Leaflet.
- How to animate, move forward or backward in the animation.
- How to display frame time.
- How to update the JSON and add new frames.
- Memory and performance optimizations.