Changeset 6296 in josm for trunk/src/org/openstreetmap/josm/data/coor/QuadTiling.java
- Timestamp:
- 2013-10-04T03:27:01+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/coor/QuadTiling.java
r6171 r6296 63 63 64 64 static long lon2x(double lon) { 65 //return Math.round((lon + 180.0) * QuadBuckets.WORLD_PARTS / 360.0)-1;66 65 long ret = (long)((lon + 180.0) * WORLD_PARTS / 360.0); 67 66 if (ret == WORLD_PARTS) { … … 72 71 73 72 static long lat2y(double lat) { 74 //return Math.round((lat + 90.0) * QuadBuckets.WORLD_PARTS / 180.0)-1;75 73 long ret = (long)((lat + 90.0) * WORLD_PARTS / 180.0); 76 74 if (ret == WORLD_PARTS) {
Note:
See TracChangeset
for help on using the changeset viewer.