自定义的folium / leaflet map不能在jupyter笔记本中呈现

时间:2017-06-16 05:57:49

标签: leaflet jupyter folium

我在Jupyter笔记本中使用我的tileset完成了以下操作。

tileset = './output/{z}/{x}/{y}.png'
m = folium.Map(tiles=tileset,zoom_start=1,max_zoom=4,min_zoom=1, attr='Test',no_wrap=True)

它渲染窗口但不显示图像。当我执行m.save('test.html')并在Chrome中打开html文件时它渲染得很好。在笔记本中我还有什么其他的东西可以让它正确渲染吗?

提前致谢。

0 个答案:

没有答案