jperelli / vue2-leaflet-markercluster

markercluster plugin extension for vue2-leaflet package
MIT License
132 stars 55 forks source link

How to open a popup when clicking a cluster #64

Closed bsansone closed 2 years ago

bsansone commented 2 years ago

I didn't see any examples or issues on this, but how can I open a popup from clicking the marker-cluster? I would like to be able to use a vue component (like LPopup) as the content of the popup, not just passing a string of html content to .bindPopup(). The point of using a popup in the cluster is to essentially see all the data within the cluster.