Skip to content
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

How to use custom JS #765

Closed
mikie22 opened this issue Nov 2, 2017 · 4 comments
Closed

How to use custom JS #765

mikie22 opened this issue Nov 2, 2017 · 4 comments
Labels
feature request Feature request or idea about how to make folium better

Comments

@mikie22
Copy link

mikie22 commented Nov 2, 2017

How to build html file with FlyTo(leaflet) animation (How to add custom Java Script?)

@ocefpaf
Copy link
Member

ocefpaf commented Nov 2, 2017

If you want to inject some js code that is hosted in a cdn you can use JavascriptLink.

However, FlyTo looks like a method we never implemented and should be part of the map object.
Do you fancy a PR to add that?

@ocefpaf ocefpaf added the feature request Feature request or idea about how to make folium better label Nov 2, 2017
@mikie22
Copy link
Author

mikie22 commented Nov 3, 2017

Thx for response.
I already found how to inject custom js into document.
I've built a simple plugin which implement this and do some kind of "flyto" animation on the set of coordinates.

@ocefpaf
Copy link
Member

ocefpaf commented Nov 3, 2017

Nice! Do you want to send a PR with that?

@ocefpaf
Copy link
Member

ocefpaf commented Nov 9, 2018

Closing this as solved.

@ocefpaf ocefpaf closed this as completed Nov 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature request or idea about how to make folium better
Projects
None yet
Development

No branches or pull requests

2 participants