Adds Canvas-rendered snow as a layer to your Leaflet-map
L.snowLayer({color: 'rgba(255, 255, 255, 1.0)', maxFlakes: 200}).addTo(map);
See http://atlefren.github.io/L.SnowLayer/snow.html for a demo
My part of this code is really just a mash-up up the following pieces of code:
- "Leaflet Canvas Overlay" by "Sumbera" (http://bl.ocks.org/sumbera/11114288), available under the MIT license: http://bl.ocks.org/sumbera/11114288#LICENSE.TXT
- "Snow Effect using HTML5 Canvas and Javascript" published at http://thecodeplayer.com (http://thecodeplayer.com/walkthrough/html5-canvas-snow-effect). License unknown