danzel/Leaflet.markercluster — pull request #30 by mourner (2012-08-09 15:11:54+00:00)
Title: Calculate point average as cluster center instead of bounds center

Calculate point average as cluster center instead of bounds center (with weighted calculation when merging clusters).

This makes clusters better positioned, so the expanding/contraction changes are more natural (e.g. if you merge 1000 markers cluster with one marker on the side, the resulting cluster will be almost in the same position instead of jumping halfway towards that one marker).

Has very little effect on performance according to my tests.