Ignore:
Timestamp:
2015-12-14T23:18:24+01:00 (8 years ago)
Author:
bastiK
Message:

guess resonable projection bounds, when they haven't been specified (see #12186)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/projection/proj/LonLat.java

    r8444 r9124  
    44import static org.openstreetmap.josm.tools.I18n.tr;
    55
     6import org.openstreetmap.josm.data.Bounds;
    67import org.openstreetmap.josm.data.projection.ProjectionConfigurationException;
    78
     
    3738        return new double[] {Math.toRadians(north * a), Math.toRadians(east * a)};
    3839    }
     40
     41    @Override
     42    public Bounds getAlgorithmBounds() {
     43        return new Bounds(-90, -180, 90, 180, false);
     44    }
    3945}
Note: See TracChangeset for help on using the changeset viewer.