Ignore:
Timestamp:
2006-01-11T23:39:36+01:00 (14 years ago)
Author:
imi
Message:
  • added world boundaries
  • added bug report exception handler
  • raw gps/real data when open depends now on extension
Location:
src/org/openstreetmap/josm/data/projection
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/org/openstreetmap/josm/data/projection/Projection.java

    r23 r40  
    1818 */
    1919abstract public class Projection implements Cloneable {
     20
     21        public static double MAX_LAT = 85; // yep - JOSM cannot cartograph the poles.
     22        public static double MAX_LON = 179.99999;
    2023
    2124        /**
  • src/org/openstreetmap/josm/data/projection/UTM.java

    r35 r40  
    195195        ZoneData autoDetect(Bounds b) {
    196196                ZoneData zd = new ZoneData();
    197                 if (b == null)
    198                         return zd;
    199197                GeoPoint center = b.centerLatLon();
    200198                double lat = center.lat;
Note: See TracChangeset for help on using the changeset viewer.