Using a custom tile server for maps

I’m looking for documentation on using custom tile-servers to provide the images for my map. It’s important that my app only run locally without reaching out to third parties like MapBox.

Folium has the following syntax for selecting a tile-server

folium.Map(location=[45.372, -121.6972],
           attr='My Data Attribution')

Does such a thing exist for pydeckGL? I can’t find it in the docs anywhere. It seems like the tile server may be set in stone as mapbox.

Hey @conic, welcome back!

As part of the new functionality released in Streamlit 0.63+ for the new Component architecture, I released streamlit-folium if you want to give that a shot: