with canvas based L.Paths, it's inefficient to draw too frequently, so reduce the debug tile refresh rate even further

This commit is contained in:
Jon Atkins 2014-03-22 03:43:52 +00:00
parent 4d72137e12
commit 2084117bd8

View File

@ -3,7 +3,7 @@
window.RenderDebugTiles = function() {
this.CLEAR_CHECK_TIME = 0.5;
this.CLEAR_CHECK_TIME = L.Path.CANVAS ? 2.0 : 0.5;
this.FADE_TIME = 2.0;
this.debugTileLayer = L.layerGroup();