Customize a popup #56
Unanswered
ldelaroque
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I'm currently using PyQt5 and pyqtlet to create an application and display an L.map in it with a marker, and I have associated a popup for this marker. I've managed to embed an HTML button in this marker, and I'd like to run a function in python when the user clicks on this button. Do any of you have an idea how I could do this? :)
Here is my code:
In fact, when I run the code, it works quite well but I got this error in my console: "js: Uncaught ReferenceError: open_window is not defined" and I don't know how to fix it. Thanks you all,
Beta Was this translation helpful? Give feedback.
All reactions