Changeset 1689 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2009-06-22T17:37:36+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/OsmUrlToBounds.java
r1677 r1689 28 28 new LatLon(Double.parseDouble(bbox[1]), Double.parseDouble(bbox[0])), 29 29 new LatLon(Double.parseDouble(bbox[3]), Double.parseDouble(bbox[2]))); 30 30 } else if (map.containsKey("minlat")) { 31 String s = map.get("minlat"); 32 Double minlat = Double.parseDouble(s); 33 s = map.get("minlon"); 34 Double minlon = Double.parseDouble(s); 35 s = map.get("maxlat"); 36 Double maxlat = Double.parseDouble(s); 37 s = map.get("maxlon"); 38 Double maxlon = Double.parseDouble(s); 39 b = new Bounds(new LatLon(minlat, minlon), new LatLon(maxlat, maxlon)); 31 40 } else { 32 41 double size = 180.0 / Math.pow(2, Integer.parseInt(map.get("zoom")));
Note:
See TracChangeset
for help on using the changeset viewer.