Revert "shorter wait before redrawing after zooming"

This reverts commit 7a22e62426.
This commit is contained in:
Ansis Brammanis
2013-03-06 13:12:46 -05:00
parent cfe3eecbe1
commit 8fc4cffd20
+3 -3
View File
@@ -133,7 +133,7 @@ iD.Map = function(context) {
tilegroup.style(transformProp, transform);
surface.style(transformProp, transform);
queueRedraw(scale === 1 ? 500 : 100);
queueRedraw();
dispatch.move(map);
}
@@ -183,9 +183,9 @@ iD.Map = function(context) {
}
var timeoutId;
function queueRedraw(t) {
function queueRedraw() {
clearTimeout(timeoutId);
timeoutId = setTimeout(function() { redraw(); }, t);
timeoutId = setTimeout(function() { redraw(); }, 300);
}
function pointLocation(p) {