SINTEF-9012 / PruneCluster

Fast and realtime marker clustering for Leaflet
MIT License
551 stars 131 forks source link

Leaving marker / popup when clustering #133

Open TheVoxell opened 7 years ago

TheVoxell commented 7 years ago

Hi, Is there a way to keep the marker from clustering when the popup is active? Im building a vehicle tracking app but when i am tracking a vehicle and the marker is clustering i lose the popup / marker.

fungiboletus commented 7 years ago

Hi. Not really on the current version. I developed a similar feature in an application and the solution I used was to hide/filter the marker in PruneCluster using marker.filtered = true, and to add a new L.Marker outside PruneCluster.

RickGlimmer commented 6 years ago

Hi @TheVoxell , I need to do something similar, did you find a solution for it?

TheVoxell commented 6 years ago

Hi @RickGlimmer, Unfortunately not... On click i will go to a zoom-level where there is no clustering so i dont have the problem anymore.