Changeset 5005 in josm
- Timestamp:
- 2012-02-20T13:18:34+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/OsmUrlToBounds.java
r4736 r5005 56 56 b = new Bounds(new LatLon(minlat, minlon), new LatLon(maxlat, maxlon)); 57 57 } else { 58 String z = map.get("zoom"); 58 59 b = positionToBounds(parseDouble(map, "lat"), 59 60 parseDouble(map, "lon"), 60 Integer.parseInt( map.get("zoom")));61 z == null ? 18 : Integer.parseInt(z)); 61 62 } 62 63 } catch (NumberFormatException x) {
Note:
See TracChangeset
for help on using the changeset viewer.