feat(been): cluster duplicate checkins with Leaflet.markercluster

This commit is contained in:
svemagie
2026-03-20 22:07:37 +01:00
parent 316f28074d
commit 4cc002795f
5 changed files with 83 additions and 3 deletions

View File

@@ -136,7 +136,10 @@
{# CSS is synchronous (Leaflet requires CSS before map init); JS is non-deferred (inline init script runs synchronously in body) #}
{% if leafletMap %}
<link rel="stylesheet" href="/css/leaflet.css?v={{ '/css/leaflet.css' | hash }}">
<link rel="stylesheet" href="/css/markercluster.css?v={{ '/css/markercluster.css' | hash }}">
<link rel="stylesheet" href="/css/markercluster.default.css?v={{ '/css/markercluster.default.css' | hash }}">
<script src="/js/vendor/leaflet.js?v={{ '/js/vendor/leaflet.js' | hash }}"></script>
<script src="/js/vendor/leaflet.markercluster.js?v={{ '/js/vendor/leaflet.markercluster.js' | hash }}"></script>
{% endif %}
</head>
<body{% if pagefindIgnore %} data-pagefind-ignore="all"{% endif %}>