Document maxClusterRadius

This commit is contained in:
danzel
2012-09-06 09:41:27 +12:00
parent 8ef762e001
commit 0c6463bfc6
+1
View File
@@ -48,6 +48,7 @@ Check out the [custom example](http://danzel.github.com/Leaflet.markercluster/ex
### Other Options
**disableClusteringAtZoom**: If set, at this zoom level and below markers will not be clustered. This defaults to disabled. [See Example](http://danzel.github.com/Leaflet.markercluster/example/marker-clustering-realworld-maxzoom.388.html)
**maxClusterRadius**: The maximum radius that a cluster will cover from the central marker (in pixels). Default 80. Decreasing will make more smaller clusters.
**singleMarkerMode**: If set to true, overrides the icon for all added markers to make them appear as a 1 size cluster
**skipDuplicateAddTesting**: By default we check if a marker already exists in the cluster when addLayer is called. To disable this behaviour set this to true. You must only do this if you know you will not try add markers that are already in the cluster. Provides a slight performance boost to addLayer when called after the MarkerClusterGroup is on the map.