We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4647e5e commit 4072349Copy full SHA for 4072349
src/main/java/org/openstreetmap/josm/plugins/mapillary/cache/MapillaryCache.java
@@ -176,7 +176,7 @@ private static void runnableCacheSurroundingImages(INode currentImage) {
176
}
177
final IWay<?> iWay = MapillaryImageUtils.getSequence(currentImage);
178
// We prefetch both ways
179
- final Type type = Type.THUMB_256;
+ final Type type = MapillaryImageUtils.IS_PANORAMIC.test(currentImage) ? Type.THUMB_1024 : Type.THUMB_256; // Prefetch larger pic in case of Pano photo.
180
if (iWay != null) {
181
// Avoid CME -- getImage may remove nodes from the way
182
final List<? extends INode> wayNodes = new ArrayList<>(iWay.getNodes());
0 commit comments