mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-07 03:41:33 +00:00
Zoom to GPX after adding (#2144)
This commit is contained in:
@@ -140,6 +140,7 @@ iD.Background = function(context) {
|
||||
|
||||
reader.onload = function(e) {
|
||||
gpxLayer.geojson(toGeoJSON.gpx(toDom(e.target.result)));
|
||||
background.zoomToGpxLayer();
|
||||
dispatch.change();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user