基于folium添加基本无偏移国内图源,包名及所有用法与folium相同,但安装需要使用如下方式(结尾有个
e
)
pip install foliume
添加:
- GeoQ (tiles=“GeoQ China Community / Street”)
- 高德地图 (tiles=“AMAP China”)
- 腾讯地图 (tiles=“TencentMap China”)
- 百度地图 (tiles=“BaiduMaps China”)
简单案例参考:test.ipynb
folium builds on the data wrangling strengths of the Python ecosystem and the mapping strengths of the Leaflet.js library. Manipulate your data in Python, then visualize it in a Leaflet map via folium.
$ pip install folium
or
$ conda install -c conda-forge folium
https://python-visualization.github.io/folium/
There are two galleries of Jupyter notebooks with examples, which you can see using Jupyter's nbviewer:
https://nbviewer.jupyter.org/github/python-visualization/folium/tree/main/examples/
https://nbviewer.jupyter.org/github/python-visualization/folium_contrib/tree/master/notebooks/
We love contributions! folium is open source, built on open source, and we'd love to have you hang out in our community.
See our complete contributor's guide for more info.
Check the changelog for a detailed list of the latest changes.