-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Font Awesome fonts built under version 5 don't render in folium 0.5.0 #923
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for pointing this out. I just looked into it a bit and indeed folium is using version 4. Do we want to move to 5? We're using a Leaflet plugin for the markers: The library was more recently updated on this fork, but still no FA v.5 support. So it seems we're stuck with FA v.4 for now. Unless maybe...
folium is maintained by volunteers so ideas or help is welcome! |
Hi @robsomething, we recently forked the awesome marker library to take control of updating it. You're very welcome to contribute to it if you have the time! @rougeth will help out maintaining it. I think right now PR's that add FA 5 support are welcome. You can probably look into other forks to see how others did it. We'll then have to patch folium to work with the changes. https://github.com/python-visualization/Leaflet.awesome-markers |
This can be closed since #1637 was merged. |
Hi, I can't get the FA icons to render if they have a prefix other than "fa". FA built out a bunch of new ones and reclassified many of the older ones.
Problem description
Font Awesome icons with prefixes other than 'fa' do not render in popup markers, when using folium 0.5.0. According to a response from the FA help desk:
"It looks like folium is using Font Awesome version 4, so those prefixes won't work. Folium will need to be updated for version 5."
Expected Output
icon to lower left should have a small cloud. icon to upper right should have a shopping cart. ticket includes an .html file renamed as .txt for uploading purposes
Output of folium 0.5.0
Lower left icon is missing. Upper right shopping cart is showing.

The text was updated successfully, but these errors were encountered: