JaWeilBaum / pyqtlet2

pyqtlet2 extends pyqtlet which initially brought Leaflet maps to PyQt5 and PySide6.
Other
37 stars 19 forks source link

Unable to pass callbacks into "map.runJavaScript" Method #58

Open Raji-Ahmad opened 1 year ago

Raji-Ahmad commented 1 year ago

I need the runJavascript method to run synchronously and I tried doing that by adding an event loop as a callback function but I get an error that runJavaScript() takes 3 positional arguments but 4 were given. Apparent, there is seems to be no overload that takes 4 arguments (callback inclusive)