Changeset 12783 in josm for trunk/test/performance/org


Ignore:
Timestamp:
2017-09-08T02:50:52+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15229 - fix warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/performance/org/openstreetmap/josm/gui/mappaint/MapRendererPerformanceTest.java

    r12651 r12783  
    2626import org.junit.rules.Timeout;
    2727import org.openstreetmap.josm.JOSMFixture;
     28import org.openstreetmap.josm.Main;
    2829import org.openstreetmap.josm.PerformanceTestUtils;
    2930import org.openstreetmap.josm.TestUtils;
     
    3536import org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer.StyleRecord;
    3637import org.openstreetmap.josm.data.preferences.sources.SourceEntry;
    37 import org.openstreetmap.josm.data.projection.Projections;
    3838import org.openstreetmap.josm.gui.MainApplication;
    3939import org.openstreetmap.josm.gui.NavigatableComponent;
     
    187187                scale = SCALE_Z17;
    188188            }
    189             nc.zoomTo(Projections.project(center), scale);
     189            nc.zoomTo(Main.getProjection().latlon2eastNorth(center), scale);
    190190            if (checkScale) {
    191191                int lvl = Selector.OptimizedGeneralSelector.scale2level(nc.getDist100Pixel());
Note: See TracChangeset for help on using the changeset viewer.