Changeset 31135 in osm for applications/viewer/jmapviewer/src/org
- Timestamp:
- 2015-05-19T19:39:55+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/OsmMercator.java
r31125 r31135 132 132 int mp = getMaxPixels(aZoomlevel); 133 133 double x = (mp * (aLongitude + 180l)) / 360l; 134 return Math.min(x, mp - 1);134 return Math.min(x, mp); 135 135 } 136 136
Note:
See TracChangeset
for help on using the changeset viewer.