Changeset 14120 in josm for trunk/src/org/openstreetmap/josm/data/imagery/TemplatedWMSTileSource.java
- Timestamp:
- 2018-08-11T17:29:48+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/TemplatedWMSTileSource.java
r13733 r14120 16 16 17 17 import org.openstreetmap.gui.jmapviewer.interfaces.TemplatedTileSource; 18 import org.openstreetmap.josm.Main;19 18 import org.openstreetmap.josm.data.coor.EastNorth; 20 19 import org.openstreetmap.josm.data.projection.Projection; 20 import org.openstreetmap.josm.data.projection.ProjectionRegistry; 21 21 import org.openstreetmap.josm.gui.layer.WMSLayer; 22 22 import org.openstreetmap.josm.tools.CheckParameterUtil; … … 108 108 } else if (baseUrl.toLowerCase(Locale.US).contains("crs=")) { 109 109 // assume WMS 1.3.0 110 switchLatLon = Main.getProjection().switchXY();110 switchLatLon = ProjectionRegistry.getProjection().switchXY(); 111 111 } 112 112 String bbox = getBbox(zoom, tilex, tiley, switchLatLon);
Note:
See TracChangeset
for help on using the changeset viewer.