JaWeilBaum / pyqtlet2

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

Is there any way I can include and use Leaflet's plugins? #36

Closed maelchiotti closed 1 year ago

maelchiotti commented 2 years ago

Hi, I would like to display a heatmap but Leafleat doesn't have this functionality natively.

However, a lot of plugins can be used, such as heatmap.js.

Is there any way I could use self.map.runJavaScript() to include such a plugin and use it?

JaWeilBaum commented 1 year ago

Hi @maelchiotti , If you still look for this, you might have a look at my PR #17 you could add more plugins like this. I hope this helps.