Fix zooming then dragging

This commit is contained in:
Tom MacWright
2012-11-02 17:37:57 -04:00
parent 9edc918b57
commit 49205a9bce

View File

@@ -265,6 +265,7 @@ iD.Map = function(elem) {
t[0] += (width / 2) - l[0];
t[1] += (height / 2) - l[1];
projection.translate(t);
zoombehavior.translate(projection.translate());
drawVector();
redraw();