Changeset 14221 in josm for trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/LoadAndZoomHandler.java
- Timestamp:
- 2018-09-03T20:15:11+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/LoadAndZoomHandler.java
r13973 r14221 17 17 18 18 import org.openstreetmap.josm.actions.AutoScaleAction; 19 import org.openstreetmap.josm.actions.AutoScaleAction.AutoScaleMode; 19 20 import org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask; 20 21 import org.openstreetmap.josm.actions.downloadtasks.DownloadParams; … … 264 265 // zoom_mode=(download|selection), defaults to selection 265 266 if (!"download".equals(args.get("zoom_mode")) && !primitives.isEmpty()) { 266 AutoScaleAction.autoScale( "selection");267 AutoScaleAction.autoScale(AutoScaleMode.SELECTION); 267 268 } else if (MainApplication.isDisplayingMapView()) { 268 269 // make sure this isn't called unless there *is* a MapView
Note:
See TracChangeset
for help on using the changeset viewer.