title: Leaflet.js heatmap.js - window resize event
body: <p>I am using <a href="http://www.patrick-wied.at/static/heatmapjs/index.html" rel="nofollow">heatmap.js</a> for plotting heatmaps on leaflet.js. I am able to render it beautifully. However lets say the initial window/div size is 400x400. Then I resize the window and the div becomes 600x600, the heatmap layer is still sized at 400x400 and cuts-off. When you move the map, you can see the chopped 400x400 area of heatmap.</p>
  
  <p>Anyway to resize or reset the size?</p>