[Pkg-javascript-commits] [leaflet-markercluster] 176/479: Add option to clusterSingleMarkers

Jonas Smedegaard dr at jones.dk
Thu Oct 16 16:00:27 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 9ad78ab80949672de89752494261977b613341df
Author: Alec Winograd <awinograd at gmail.com>
Date:   Mon Aug 20 16:31:52 2012 -0700

    Add option to clusterSingleMarkers
---
 src/MarkerClusterGroup.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/MarkerClusterGroup.js b/src/MarkerClusterGroup.js
index f685d8d..f56c242 100644
--- a/src/MarkerClusterGroup.js
+++ b/src/MarkerClusterGroup.js
@@ -1,4 +1,3 @@
-
 /*
  * L.MarkerClusterGroup extends L.FeatureGroup by clustering the markers contained within
  */
@@ -8,6 +7,7 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
 	options: {
 		maxClusterRadius: 80, //A cluster will cover at most this many pixels from its center
 		iconCreateFunction: null,
+		clusterSingleMarkers: false,
 
 		spiderfyOnMaxZoom: true,
 		showCoverageOnHover: 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