Python Folium icon list

我与影子孤独终老i 提交于 2019-12-24 12:53:05

问题


Is there any list of icons available that I can use in a expression like I use home in this one?

folium.Marker(location=[0,20], icon=folium.Icon(color='lightgray', icon='home', prefix='fa')).add_to(m)

回答1:


You can find a full list here:
https://fontawesome.com/icons?d=gallery
use with: prefix='fa'

or the glyphicon icons of Bootstrap that are built-in and standard, thus without prefix needed. https://getbootstrap.com/docs/3.3/components/



来源:https://stackoverflow.com/questions/53721079/python-folium-icon-list

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!