-
-
Notifications
You must be signed in to change notification settings - Fork 195
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
Dynamically load javascript and css links #181
Dynamically load javascript and css links #181
Conversation
Horribly mutilated code. Still needs to be cleaned up.
570511c
to
cf796ea
Compare
There is also code included to ensure we can run without any js links, which is a should not happen scenario. Need to test this later and see if it can be removed again. Also, Dual Map tests do not work, but this is because the dual map feature is also broken.
Closes issue #180 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is so great! I tested it locally, and seems to work very well.
It should allow for much greater automatic support for new functionality in Folium. Thanks so much!
That's nice to hear. I am impressed (and a little intimidated) by how you managed to update |
* First version that works Horribly mutilated code. Still needs to be cleaned up. * WIP tests fixed There is also code included to ensure we can run without any js links, which is a should not happen scenario. Need to test this later and see if it can be removed again. Also, Dual Map tests do not work, but this is because the dual map feature is also broken. * Fix DualMap * Black * Dummy change to trigger build rerun
Dynamically load javascript and css links.
This change will inspect the
Folium
map and then add included js and css links to the page. I managed to fix the tests.Javascript and typescript are not my main languages. Suggestions on how to improve this are welcome.