I uploaded a large (~8GB) geotiff to mapbox using the CLI.
mapbox upload bweinstein.6thBridge_03182020 6thBridge_03182020.tif
Everything appears fine in mapbox studio. Max Zoom is 22 and you can zoom in and see the tiles. It is the top layer in the style. Here is a fully zoomed screenshot.
In Shiny I connect the CARTO integration URL and make sure maxZoomLevels are set
leaflet(data=selected_centroids,options = leafletOptions(minZoom = 7, maxZoom = 22, maxNativeZoom=22)) %>% addTiles(mapbox_url)
Everything is fine at coarse zoom levels
but then it disappears and turns grey as you zoom.
For raster tilesets, the uploaded image resolution sets the minzoom and maxzoom levels. Higher resolution images will result in the tileset rendering at more zoom levels. Note: regardless of maximum zoom level, data can be overzoomed and visualized to zoom 22.
Is this likely to be a problem in leaflet, in mapbox studio, or in shiny?