- Timestamp:
- 2016-02-28T13:32:49+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/TMSLayer.java
r9860 r9897 57 57 super(info); 58 58 Collection<Double> scales = new ArrayList<>(info.getMaxZoom()); 59 for (int zoom = info.getMinZoom(); zoom <= info.getMaxZoom(); zoom++) {59 for (int zoom = AbstractTileSourceLayer.MIN_ZOOM; zoom <= AbstractTileSourceLayer.MAX_ZOOM; zoom++) { 60 60 double scale = OsmMercator.EARTH_RADIUS * Math.PI * 2 / Math.pow(2, zoom) / OsmMercator.DEFAUL_TILE_SIZE; 61 61 scales.add(scale);
Note:
See TracChangeset
for help on using the changeset viewer.