Subject: [PATCH] 23113.pmtiles
---
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/plugins/pmtiles/src/main/java/org/openstreetmap/josm/plugins/pmtiles/gui/layers/PMTilesTileSource.java b/plugins/pmtiles/src/main/java/org/openstreetmap/josm/plugins/pmtiles/gui/layers/PMTilesTileSource.java
|
a
|
b
|
|
| 150 | 150 | ); |
| 151 | 151 | } |
| 152 | 152 | |
| 153 | | @Override |
| 154 | | default Point latLonToXY(ICoordinate point, int zoom) { |
| 155 | | return this.latLonToXY(point.getLat(), point.getLon(), zoom); |
| 156 | | } |
| 157 | | |
| 158 | | @Override |
| 159 | | default ICoordinate xyToLatLon(Point point, int zoom) { |
| 160 | | return xyToLatLon(point.x, point.y, zoom); |
| 161 | | } |
| 162 | | |
| 163 | 153 | @Override |
| 164 | 154 | default ICoordinate xyToLatLon(int x, int y, int zoom) { |
| 165 | 155 | return new Coordinate( |
| … |
… |
|
| 176 | 166 | ); |
| 177 | 167 | } |
| 178 | 168 | |
| 179 | | @Override |
| 180 | | default TileXY latLonToTileXY(ICoordinate point, int zoom) { |
| 181 | | return latLonToTileXY(point.getLat(), point.getLon(), zoom); |
| 182 | | } |
| 183 | | |
| 184 | | @Override |
| 185 | | default ICoordinate tileXYToLatLon(TileXY xy, int zoom) { |
| 186 | | return this.tileXYToLatLon(xy.getXIndex(), xy.getYIndex(), zoom); |
| 187 | | } |
| 188 | | |
| 189 | | @Override |
| 190 | | default ICoordinate tileXYToLatLon(Tile tile) { |
| 191 | | return this.tileXYToLatLon(tile.getXtile(), tile.getYtile(), tile.getZoom()); |
| 192 | | } |
| 193 | | |
| 194 | 169 | @Override |
| 195 | 170 | default ICoordinate tileXYToLatLon(int x, int y, int zoom) { |
| 196 | 171 | return new Coordinate( |