Ignore:
Timestamp:
2011-05-01T21:56:49+02:00 (13 years ago)
Author:
jttt
Message:

Improved wms cache

  • files saved in original format (no need to recode to png)
  • possibility to tile with different pos/ppd that overlaps current tile
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/ImageryLayer.java

    r3878 r4065  
    8585        if (Main.map == null || Main.map.mapView == null) return Main.proj.getDefaultZoomInPPD();
    8686        ProjectionBounds bounds = Main.map.mapView.getProjectionBounds();
    87         return Main.map.mapView.getWidth() / (bounds.max.east() - bounds.min.east());
     87        return Main.map.mapView.getWidth() / (bounds.maxEast - bounds.minEast);
    8888    }
    8989
Note: See TracChangeset for help on using the changeset viewer.