python-visualization / folium

Python Data. Leaflet.js Maps.
https://python-visualization.github.io/folium/
MIT License
6.94k stars 2.23k forks source link

Stamen tiles doesn`t show up in Folium Map #1849

Closed lightbluetitan closed 11 months ago

lightbluetitan commented 11 months ago

Please add a code sample or a nbviewer link, copy-pastable if possible

palacio_gobierno_02 = fl.Map(
    location=[-12.04454791614111, -77.02999169206115],
    zoom_start=18,
    tiles="stamenterrain"
)

fl.Marker(location=[-12.04454791614111, -77.02999169206115],icon=fl.Icon(color="purple",icon="tower"),
          popup=fl.Popup("<b>Palacio de Gobierno</b>",max_width=250)).add_to(palacio_gobierno_02)

plugins.Fullscreen(position="topright").add_to(palacio_gobierno_02)

MiniMap(position="bottomleft",toggle_display=True,tile_layer="stamenterrain").add_to(palacio_gobierno_02)

palacio_gobierno_02

Problem description

[Stamen tiles doesn't work out, I never had any problem, but now it seems it's not working anymore, I added atrr, but nothing at all]

Expected Output

the map must show the stamen tile

Output of folium.__version__

Conengmo commented 11 months ago

Stamen tiles are no longer freely available unfortunately. Please upgrade Folium and choose another tile set.