- Timestamp:
- 2012-02-15T22:20:42+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/LoadAndZoomHandler.java
r4884 r4944 64 64 double maxlon = 0; 65 65 try { 66 minlat = Double.parseDouble(args.get("bottom"));67 maxlat = Double.parseDouble(args.get("top"));68 minlon = Double.parseDouble(args.get("left"));69 maxlon = Double.parseDouble(args.get("right"));66 minlat = LatLon.roundToOsmPrecision(Double.parseDouble(args.get("bottom"))); 67 maxlat = LatLon.roundToOsmPrecision(Double.parseDouble(args.get("top"))); 68 minlon = LatLon.roundToOsmPrecision(Double.parseDouble(args.get("left"))); 69 maxlon = LatLon.roundToOsmPrecision(Double.parseDouble(args.get("right"))); 70 70 boolean newLayer = isLoadInNewLayer(); 71 71
Note:
See TracChangeset
for help on using the changeset viewer.