Changeset 5556 in josm for trunk/test/performance/org
- Timestamp:
- 2012-11-03T18:32:39+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/performance/org/openstreetmap/josm/data/osm/MapPaintVisitorPerformanceTest.java
r4126 r5556 12 12 import org.openstreetmap.josm.data.osm.visitor.paint.Rendering; 13 13 import org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer; 14 import org.openstreetmap.josm.data.projection. Mercator;14 import org.openstreetmap.josm.data.projection.Projections; 15 15 import org.openstreetmap.josm.gui.NavigatableComponent; 16 16 import org.openstreetmap.josm.gui.mappaint.MapPaintStyles; … … 32 32 @BeforeClass 33 33 public static void load() throws Exception { 34 Main.setProjection( new Mercator());34 Main.setProjection(Projections.getProjectionByCode("EPSG:3857")); // Mercator 35 35 img = new BufferedImage(IMG_WIDTH, IMG_HEIGHT, BufferedImage.TYPE_3BYTE_BGR); 36 36 g = (Graphics2D)img.getGraphics();
Note:
See TracChangeset
for help on using the changeset viewer.