From 27508225161f1430f773fce5c6ca52db829f2a09 Mon Sep 17 00:00:00 2001 From: Dave Leaver Date: Wed, 3 Apr 2013 08:47:10 +1300 Subject: [PATCH] Update Readme to mention animateAddingMarkers doesn't work with addLayers Thanks @Driklyn --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b2f44b6e0..8932167e4 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ Enabled by default (boolean options): * **spiderfyOnMaxZoom**: When you click a cluster at the bottom zoom level we spiderfy it so you can see all of its markers. Other options -* **animateAddingMarkers**: If set to true then adding individual markers to the MarkerClusterGroup after it has been added to the map will add the marker and animate it in to the cluster. Defaults to false as this gives better performance when bulk adding markers. +* **animateAddingMarkers**: If set to true then adding individual markers to the MarkerClusterGroup after it has been added to the map will add the marker and animate it in to the cluster. Defaults to false as this gives better performance when bulk adding markers. addLayers does not support this, only addLayer with individual Markers. * **disableClusteringAtZoom**: If set, at this zoom level and below markers will not be clustered. This defaults to disabled. [See Example](http://leaflet.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. * **polygonOptions**: Options to pass when creating the L.Polygon to show the bounds of a cluster