diff --git a/js/id/renderer/background.js b/js/id/renderer/background.js index 3b8eb8756..5432f85e8 100644 --- a/js/id/renderer/background.js +++ b/js/id/renderer/background.js @@ -140,6 +140,7 @@ iD.Background = function(context) { reader.onload = function(e) { gpxLayer.geojson(toGeoJSON.gpx(toDom(e.target.result))); + background.zoomToGpxLayer(); dispatch.change(); };