Logging this on behalf of Vincent Jones who first came across this issue and reported it to me in private communication.
When a View that drives a Leaflet map (with or without Leaflet MarkerCluster enabled also) has an exposed filter as well as "Use AJAX: Yes" set, changing the filter results in a refresh of the map and its markers. However when the filter is set to a value that reduces the number of markers, then some of old markers belonging to the previous filter selection reappear. For instance , when initially the set contained 5 markers, and the set after changing the filter contains 2 markers, then with AJAX on, the old marker locations 3, 4 and 5 will remain visible on the map, with markers 1 and 2 correctly replaced.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | leaflet_markercluster-UseAJAXyes-1855692.patch | 554 bytes | rdeboer |
Comments
Comment #1
rdeboerHere's a patch.
Big thanks to Vincent Jones for doing the initial detective work that made fixing it easier.
Comment #2
rdeboerPatch applied to 7.x-1.x-dev
Comment #3
simon georges commentedSo this is fixed, then, isn't it?
Comment #4
rdeboeryes! thanks for the status update