From 800049e39d4c374bc728c6dec1c2e181baa5003d Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Mon, 13 Feb 2023 10:56:29 +0000 Subject: [PATCH] Reduce default cluster radius --- plugins/tiddlywiki/geospatial/widgets/geomap.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/tiddlywiki/geospatial/widgets/geomap.js b/plugins/tiddlywiki/geospatial/widgets/geomap.js index 22a3406df..802665ec3 100644 --- a/plugins/tiddlywiki/geospatial/widgets/geomap.js +++ b/plugins/tiddlywiki/geospatial/widgets/geomap.js @@ -88,7 +88,9 @@ GeomapWidget.prototype.renderMap = function(domNode) { } }); // Track the geomarkers filter - var markers = $tw.Leaflet.markerClusterGroup(); + var markers = $tw.Leaflet.markerClusterGroup({ + maxClusterRadius: 40 + }); map.addLayer(markers); this.trackerGeoMarkersFilter = new FilterTracker({ wiki: this.wiki,