Changeset 12783 in josm for trunk/test/performance/org
- Timestamp:
- 2017-09-08T02:50:52+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/performance/org/openstreetmap/josm/gui/mappaint/MapRendererPerformanceTest.java
r12651 r12783 26 26 import org.junit.rules.Timeout; 27 27 import org.openstreetmap.josm.JOSMFixture; 28 import org.openstreetmap.josm.Main; 28 29 import org.openstreetmap.josm.PerformanceTestUtils; 29 30 import org.openstreetmap.josm.TestUtils; … … 35 36 import org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer.StyleRecord; 36 37 import org.openstreetmap.josm.data.preferences.sources.SourceEntry; 37 import org.openstreetmap.josm.data.projection.Projections;38 38 import org.openstreetmap.josm.gui.MainApplication; 39 39 import org.openstreetmap.josm.gui.NavigatableComponent; … … 187 187 scale = SCALE_Z17; 188 188 } 189 nc.zoomTo( Projections.project(center), scale);189 nc.zoomTo(Main.getProjection().latlon2eastNorth(center), scale); 190 190 if (checkScale) { 191 191 int lvl = Selector.OptimizedGeneralSelector.scale2level(nc.getDist100Pixel());
Note:
See TracChangeset
for help on using the changeset viewer.