Merge branch 'master' of github.com:systemed/iD

This commit is contained in:
saman bb
2013-03-06 13:29:06 -05:00
+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) {