From 459d51f5a5e38ef5d96b3f428cd8b49fb22fc5b6 Mon Sep 17 00:00:00 2001 From: you Date: Tue, 24 Mar 2026 20:57:45 +0000 Subject: [PATCH] fix: re-run decollision on zoom regardless of hash labels MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit zoomend handler was gated on filters.hashLabels — decollision only re-ran on zoom when hash labels were enabled. Now always re-renders markers on zoom so pixel offsets stay correct at every zoom level. --- public/index.html | 50 +++++++++++++++++++++++------------------------ public/map.js | 2 +- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/public/index.html b/public/index.html index 22b4ebb6..30b86001 100644 --- a/public/index.html +++ b/public/index.html @@ -22,9 +22,9 @@ - - - + + + @@ -81,27 +81,27 @@
- - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/map.js b/public/map.js index 0b4c83bd..018a8b31 100644 --- a/public/map.js +++ b/public/map.js @@ -172,7 +172,7 @@ }); map.on('zoomend', () => { - if (filters.hashLabels && !_renderingMarkers) renderMarkers(); + if (!_renderingMarkers) renderMarkers(); }); map.on('resize', () => {