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

ClickForMarker with html popups #1666

Merged

Conversation

Conengmo
Copy link
Member

@Conengmo Conengmo commented Nov 27, 2022

Allow more freedom when setting up a ClickForMarker:

  • Allow IFrame and Html objects
  • Allow using JS template variables to include latitude and longitude.

Do this by utilizing JS template strings, like we do elsewhere as well.

Added an example to an existing notebook: https://nbviewer.org/github/Conengmo/folium/blob/click-for-marker-with-html/examples/ClickEvents.ipynb#ClickForMarker-Lets-you-create-markers-on-each-click

Closes #1183

@Conengmo Conengmo merged commit 54a741a into python-visualization:main Nov 29, 2022
@Conengmo Conengmo deleted the click-for-marker-with-html branch November 29, 2022 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How add click-for-marker with iframe?
2 participants