domoritz/leaflet-maskcanvas — pull request #2 by bozdoz (2013-04-18 20:31:32+00:00)
Title: Draw points conditionally

With this fix, _drawPoints() will run only for non-empty tiles (More efficient for maps with less data, and slightly less efficient for maps with more data).

Removed variable declarations at the end of _draw().