diff --git a/public/index.html b/public/index.html index 2d2b64a..95aa33d 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 3eb9d54..dff58be 100644 --- a/public/map.js +++ b/public/map.js @@ -619,6 +619,10 @@ } } + // Ensure map has correct pixel dimensions before deconfliction + // (SPA navigation may render markers before container is fully sized) + map.invalidateSize({ animate: false }); + // Deconflict ALL markers if (allMarkers.length > 0) { deconflictLabels(allMarkers, map);