Ignore:
Timestamp:
2018-08-11T17:29:48+02:00 (6 years ago)
Author:
Don-vip
Message:

see #15229 - deprecate all Main methods related to projections. New ProjectionRegistry class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/imagery/TemplatedWMSTileSource.java

    r13733 r14120  
    1616
    1717import org.openstreetmap.gui.jmapviewer.interfaces.TemplatedTileSource;
    18 import org.openstreetmap.josm.Main;
    1918import org.openstreetmap.josm.data.coor.EastNorth;
    2019import org.openstreetmap.josm.data.projection.Projection;
     20import org.openstreetmap.josm.data.projection.ProjectionRegistry;
    2121import org.openstreetmap.josm.gui.layer.WMSLayer;
    2222import org.openstreetmap.josm.tools.CheckParameterUtil;
     
    108108        } else if (baseUrl.toLowerCase(Locale.US).contains("crs=")) {
    109109            // assume WMS 1.3.0
    110             switchLatLon = Main.getProjection().switchXY();
     110            switchLatLon = ProjectionRegistry.getProjection().switchXY();
    111111        }
    112112        String bbox = getBbox(zoom, tilex, tiley, switchLatLon);
Note: See TracChangeset for help on using the changeset viewer.