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/data/osm/visitor/BoundingXYVisitor.java

    r2686 r4065  
    5656        if(b != null)
    5757        {
    58             visit(b.min);
    59             visit(b.max);
     58            visit(b.getMin());
     59            visit(b.getMax());
    6060        }
    6161    }
     
    8484    public boolean hasExtend()
    8585    {
    86         return bounds != null && !bounds.min.equals(bounds.max);
     86        return bounds != null && !bounds.getMin().equals(bounds.getMax());
    8787    }
    8888
     
    113113        if (bounds == null)
    114114            return;
    115         LatLon minLatlon = Main.proj.eastNorth2latlon(bounds.min);
    116         LatLon maxLatlon = Main.proj.eastNorth2latlon(bounds.max);
     115        LatLon minLatlon = Main.proj.eastNorth2latlon(bounds.getMin());
     116        LatLon maxLatlon = Main.proj.eastNorth2latlon(bounds.getMax());
    117117        bounds = new ProjectionBounds(
    118118                Main.proj.latlon2eastNorth(new LatLon(minLatlon.lat() - enlargeDegree, minLatlon.lon() - enlargeDegree)),
Note: See TracChangeset for help on using the changeset viewer.