How does one determine what map scale the XYZ Tiles are exporting their zoom levels at? I cannot seem to be able to configure a scale-dependent visibility to show labels and symbols on only specific XYZ Tile Zoom Levels.
For example: I am trying to configure symbols and labels to only appear in certain zoom levels for use in a leaflet map. I have been referencing the OSM Zoom Levels.
I have been testing with zoom level 11, which should correspond to 1:250000 map scale. I have configured my labels and symbols to have a scale dependent visibility from 1:249999 to 1:250001, which should only show such labels on zoom 11 on an XYZ Tiles export. QGIS properly shows these layers only on the 1:250000 map scale. However upon export the layers are not visible on zoom 11, which leads me to believe my zoom 11 is not exactly exporting at 1:250000.
I have also checked out this MapTiler website and confirmed that my XYZ Tiles export matches Google's tile names and bounds, which supports that the tiles exporting at 1:250000.
I have referenced some other questions which led me to play with the DPI on export, but this does not fix the issue either.
Any ideas? Am I missing something on how the map scale, DPI, CRS etc. and XYZ Tiles interact? How can I confirm that my XYZ Tiles are exporting as per the OSM Zoom Levels?
Edit: After much trial and error I have found for my layer to print only at XYZ Tile Zoom 11 (1:250000) at 96dpi (default), I need to have the layer visible to a Scale Dependent Visibility of 1:288895. I am not sure why there is a 15% difference between the intended and actual XYZ Tile Zoom Scale. Can anyone shed any light on this.