
I have a mutli-tab bokeh dashboard with lots of graphs for my companies data. I now want to get a google map in there and I’m finding the bokeh google map rendering/interaction not very satisfying. I much prefer folium. So I’m wondering if there is a way to generate a folium map in my applications python and the embed the html into the bokeh layout so it shows up where I want it? Below code generates a map and saves the html to a file for reference
import folium
m = folium.Map(
location=[45.5236, -122.6750],
tiles=‘Stamen Toner’,
zoom_start=13
)
f = open(‘test.html’,‘w’)
f.writelines(m.get_root().render())
