[Pkg-javascript-commits] [leaflet-markercluster] 164/479: Increase default maxClusterRadius to look nicer with new centering changes.

Jonas Smedegaard dr at jones.dk
Thu Oct 16 16:00:25 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository leaflet-markercluster.

commit fc1babc7769298439fd6cbb7a7ef262a2fcee6bf
Author: danzel <danzel at localhost.geek.nz>
Date:   Mon Aug 13 10:10:02 2012 +1200

    Increase default maxClusterRadius to look nicer with new centering changes.
---
 src/MarkerClusterGroup.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/MarkerClusterGroup.js b/src/MarkerClusterGroup.js
index d7d50a9..7a1db92 100644
--- a/src/MarkerClusterGroup.js
+++ b/src/MarkerClusterGroup.js
@@ -6,7 +6,7 @@
 L.MarkerClusterGroup = L.FeatureGroup.extend({
 
 	options: {
-		maxClusterRadius: 60, //A cluster will cover at most this many pixels from its center
+		maxClusterRadius: 80, //A cluster will cover at most this many pixels from its center
 		iconCreateFunction: null,
 
 		spiderfyOnMaxZoom: true,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet-markercluster.git



More information about the Pkg-javascript-commits mailing list