Skip to content

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