From ea8ee9fe5892f8264af5df823e92059232899ffb Mon Sep 17 00:00:00 2001 From: Benjamin Ory Date: Thu, 6 Feb 2025 09:54:13 +0100 Subject: [PATCH] Use clustering for more than one point --- scripts-local.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts-local.html b/scripts-local.html index 01b5f29..8519b9d 100644 --- a/scripts-local.html +++ b/scripts-local.html @@ -235,7 +235,7 @@ }); // Only cluster if there are more than 20 markers - if (markers.length <= 10) { + if (markers.length <= 1) { return L.divIcon({ html: '', className: 'hidden-cluster', iconSize: L.point(0, 0) }); }