Index: /applications/editors/josm/plugins/pmtiles/src/main/java/org/openstreetmap/josm/plugins/pmtiles/gui/layers/PMTilesImageLayer.java
===================================================================
--- /applications/editors/josm/plugins/pmtiles/src/main/java/org/openstreetmap/josm/plugins/pmtiles/gui/layers/PMTilesImageLayer.java	(revision 36124)
+++ /applications/editors/josm/plugins/pmtiles/src/main/java/org/openstreetmap/josm/plugins/pmtiles/gui/layers/PMTilesImageLayer.java	(revision 36125)
@@ -7,4 +7,5 @@
 import org.openstreetmap.gui.jmapviewer.interfaces.TileLoader;
 import org.openstreetmap.josm.data.imagery.vectortile.mapbox.MVTFile;
+import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor;
 import org.openstreetmap.josm.gui.layer.AbstractCachedTileSourceLayer;
 import org.openstreetmap.josm.plugins.pmtiles.data.imagery.PMTilesImageryInfo;
@@ -69,3 +70,9 @@
         return PMTilesLayer.super.getChangesetSourceTag();
     }
+
+    @Override
+    public void visitBoundingBox(BoundingXYVisitor v) {
+        super.visitBoundingBox(v);
+        PMTilesLayer.super.visitBoundingBox(v);
+    }
 }
Index: /applications/editors/josm/plugins/pmtiles/src/main/java/org/openstreetmap/josm/plugins/pmtiles/gui/layers/PMTilesLayer.java
===================================================================
--- /applications/editors/josm/plugins/pmtiles/src/main/java/org/openstreetmap/josm/plugins/pmtiles/gui/layers/PMTilesLayer.java	(revision 36124)
+++ /applications/editors/josm/plugins/pmtiles/src/main/java/org/openstreetmap/josm/plugins/pmtiles/gui/layers/PMTilesLayer.java	(revision 36125)
@@ -4,4 +4,5 @@
 import static org.openstreetmap.josm.tools.Utils.getSystemProperty;
 
+import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor;
 import org.openstreetmap.josm.plugins.pmtiles.data.imagery.PMTilesImageryInfo;
 import org.openstreetmap.josm.tools.TextUtils;
@@ -49,3 +50,13 @@
         return sb.toString();
     }
+
+    /**
+     * Visits the content bounds of this layer. The behavior of this method depends on the layer,
+     * but each implementation should attempt to cover the relevant content of the layer in this method.
+     * @param v The visitor that gets notified about the contents of this layer.
+     * @see org.openstreetmap.josm.gui.layer.Layer#visitBoundingBox
+     */
+    default void visitBoundingBox(BoundingXYVisitor v) {
+        v.visit(this.getInfo().getBounds());
+    }
 }
Index: /applications/editors/josm/plugins/pmtiles/src/main/java/org/openstreetmap/josm/plugins/pmtiles/gui/layers/PMTilesMVTLayer.java
===================================================================
--- /applications/editors/josm/plugins/pmtiles/src/main/java/org/openstreetmap/josm/plugins/pmtiles/gui/layers/PMTilesMVTLayer.java	(revision 36124)
+++ /applications/editors/josm/plugins/pmtiles/src/main/java/org/openstreetmap/josm/plugins/pmtiles/gui/layers/PMTilesMVTLayer.java	(revision 36125)
@@ -8,4 +8,5 @@
 import org.openstreetmap.josm.data.imagery.vectortile.mapbox.MVTFile;
 import org.openstreetmap.josm.data.imagery.vectortile.mapbox.MapboxVectorTileSource;
+import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor;
 import org.openstreetmap.josm.gui.layer.imagery.MVTLayer;
 import org.openstreetmap.josm.plugins.pmtiles.data.imagery.PMTilesImageryInfo;
@@ -70,3 +71,9 @@
         return PMTilesLayer.super.getChangesetSourceTag();
     }
+
+    @Override
+    public void visitBoundingBox(BoundingXYVisitor v) {
+        super.visitBoundingBox(v);
+        PMTilesLayer.super.visitBoundingBox(v);
+    }
 }
