Changeset 11100 in josm for trunk/src/org/openstreetmap/josm/actions
- Timestamp:
- 2016-10-08T03:02:51+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/JumpToAction.java
r11045 r11100 198 198 int zoomLvl = 18; 199 199 if (m > 0) 200 zoomLvl = (int) Math.round((-1) * Math.log(m/10 000000)/Math.log(2));200 zoomLvl = (int) Math.round((-1) * Math.log(m/10_000_000)/Math.log(2)); 201 201 202 202 url.setText(OsmUrlToBounds.getURL(dlat, dlon, zoomLvl));
Note:
See TracChangeset
for help on using the changeset viewer.