1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-09-04 03:48:01 +00:00

Reduce default cluster radius

This commit is contained in:
jeremy@jermolene.com
2023-02-13 10:56:29 +00:00
parent b1f8d3e4bd
commit 800049e39d

View File

@@ -88,7 +88,9 @@ GeomapWidget.prototype.renderMap = function(domNode) {
} }
}); });
// Track the geomarkers filter // Track the geomarkers filter
var markers = $tw.Leaflet.markerClusterGroup(); var markers = $tw.Leaflet.markerClusterGroup({
maxClusterRadius: 40
});
map.addLayer(markers); map.addLayer(markers);
this.trackerGeoMarkersFilter = new FilterTracker({ this.trackerGeoMarkersFilter = new FilterTracker({
wiki: this.wiki, wiki: this.wiki,