Leaflet/Leaflet — pull request #1898 by panrafal (2013-07-24 11:11:29+00:00)
Title: TileLayer.Canvas resetOnRedraw option

#1817 introduced a problem by recreating canvas elements on every redraw, which can cause flicker and slow downs in some scenarios. This adds the option to control this behaviour.

It defaults to true, which is the same as before. By setting it to false, TileLayer.Canvas will behave like in 0.5.