diff --git a/js/id/renderer/background.js b/js/id/renderer/background.js index e237ac46c..3b8eb8756 100644 --- a/js/id/renderer/background.js +++ b/js/id/renderer/background.js @@ -141,7 +141,6 @@ iD.Background = function(context) { reader.onload = function(e) { gpxLayer.geojson(toGeoJSON.gpx(toDom(e.target.result))); dispatch.change(); - context.map().pan([0, 0]); }; reader.readAsText(f); @@ -233,7 +232,6 @@ iD.Background = function(context) { d3.text(gpx, function(err, gpxTxt) { gpxLayer.geojson(toGeoJSON.gpx(toDom(gpxTxt))); dispatch.change(); - context.map().pan([0, 0]); }); }