Tidy up readme

This commit is contained in:
danzel
2013-06-21 15:11:41 +12:00
parent 70880bdda4
commit f0069fa4a3
+4 -4
View File
@@ -23,10 +23,10 @@ map.addLayer(markers);
### Defaults
By default the Clusterer enables some nice defaults for you:
showCoverageOnHover: When you mouse over a cluster it shows the bounds of its markers.
zoomToBoundsOnClick: When you click a cluster we zoom to its bounds.
spiderfyOnMaxZoom: When you click a cluster at the bottom zoom level we spiderfy it so you can see all of its markers.
removeOutsideVisibleBounds: Clusters and markers too far from the viewport are removed from the map for performance.
* **showCoverageOnHover**: When you mouse over a cluster it shows the bounds of its markers.
* **zoomToBoundsOnClick**: When you click a cluster we zoom to its bounds.
* **spiderfyOnMaxZoom**: When you click a cluster at the bottom zoom level we spiderfy it so you can see all of its markers.
* **removeOutsideVisibleBounds**: Clusters and markers too far from the viewport are removed from the map for performance.
You can disable any of these as you want in the options when you create the MarkerClusterGroup:
```javascript