Closed gg-bt closed 2 years ago
I have same problem. The only way to operate the folium on the qtwebengine of pyqt5 that I have tested so far is to add tails="cartodb positron" option now.
Had the same issue, it looks like the only maps working are the German openstreetmap and some of the others , Opentopomap and the cartodb positron, work as well but the .org maps dont. Not checked anymore
Guys, I am currently using the tile Stamen Terrain and works fine! Never tried again the default one...
Super late answer, but to fix this, you may or may not need a MapBox API key.
Check out some examples how to put them in here: http://leaflet-extras.github.io/leaflet-providers/preview/
For example (no key needed):
folium.TileLayer(
name="White Basemap",
tiles="https://tiles.stadiamaps.com/tiles/alidade_smooth/{z}/{x}/{y}{r}.png",
attr="'© <a href='https://stadiamaps.com/'>Stadia Maps</a>, © <a
href='https://openmaptiles.org/'>OpenMapTiles</a> © <a href='http://openstreetmap.org'>OpenStreetMap</a>
contributors",
detect_retina=True,
).add_to(<your folium map name here>)
Unfortunately this is very likely not something we can help with. Tile images are retrieved from an external server, in case of the OP from OpenStreetMap. If something goes wrong in that connection, you will get grey squares.
If somebody has more insight, please share it here.
Describe the bug It's been a week that I am not able to render anymore my map in my python application, before I was able to see with no issue at all. Now I see grey areas in the map when loaded or when the zoom is applied.
To Reproduce
Expected behavior I would expect to be able to load the map with no issue, being able to zoom in and out without having big grey areas.
Environment (please complete the following information): This is basically a standalone map, not relying on any browser.