Changeset 275 in josm
- Timestamp:
- 2007-07-05T13:09:00+02:00 (17 years ago)
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/gui/download/BoundingBoxSelection.java
r242 r275 152 152 zoom++; 153 153 } 154 osmUrl.setText("http://www.openstreetmap.org/index.html? lat="+lat+"&lon="+lon+"&zoom="+zoom);154 osmUrl.setText("http://www.openstreetmap.org/index.html?mlat="+lat+"&mlon="+lon+"&zoom="+zoom); 155 155 } 156 156 … … 196 196 double size = 180.0 / Math.pow(2, Integer.parseInt(map.get("zoom"))); 197 197 b = new Bounds( 198 new LatLon(Double.parseDouble(map.get(" lat")) - size/2, Double.parseDouble(map.get("lon")) - size),199 new LatLon(Double.parseDouble(map.get(" lat")) + size/2, Double.parseDouble(map.get("lon")) + size));198 new LatLon(Double.parseDouble(map.get("mlat")) - size/2, Double.parseDouble(map.get("mlon")) - size), 199 new LatLon(Double.parseDouble(map.get("mlat")) + size/2, Double.parseDouble(map.get("mlon")) + size)); 200 200 } 201 201 } catch (NumberFormatException x) {
Note:
See TracChangeset
for help on using the changeset viewer.