Changeset 4065 in josm for trunk/src/org/openstreetmap/josm/gui/layer/ImageryLayer.java
- Timestamp:
- 2011-05-01T21:56:49+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/ImageryLayer.java
r3878 r4065 85 85 if (Main.map == null || Main.map.mapView == null) return Main.proj.getDefaultZoomInPPD(); 86 86 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); 88 88 } 89 89
Note:
See TracChangeset
for help on using the changeset viewer.