Closed
Description
I'm using a tiling endpoint based of TiTiler to serve map tiles on Folium. Since the upgrade last night, the tiles no longer render, and my tiling endpoint gives me this error: "Invalid ZOOM level 0", and the tile request is showing as "tiles/WebMercatorQuad/0/0/0"
geom = shape(AOI)
centroid = geom.centroid
m = folium.Map(location=[centroid.y, centroid.x], zoom_start=12)
# Initialize Tile Layer and add to map
TileLayer(
tiles=tilejson["tiles"][0],
opacity=1,
min_zoom=8,
max_zoom=14,
attr="Sentinel-2 COG",
).add_to(m)
folium.GeoJson(AOI).add_to(m)
m
Typically, the folium map generates tile at whatever x, y, z are visible on the map. Only this single 0,0,0 tile is being requested.
Environment is in a Databricks notebook with Folium 0.19.0