Fluster2 0.1.1 comes with significant performance improvements and makes map operations (changing zoom mode or dragging the map around) about 15 times faster.


Fluster2 in action It's five days since Fluster2 was released and I had the chance to use it in production the first time. When working on this I realized that it was quite slow, the map didn't work properly when using >1000 markers (changing zoom mode or dragging the map was very slow, even in Google Chrome). So I tried out some things and found a solution. This is Fluster2 0.1.1 now.

Two things changed:

  • Markers must not be added to the map, only to Fluster. Then Fluster only assigns markers to the map which have to be displayed. This speeds up the whole map (when changing zoom mode or dragging the map) and makes it about 15 times faster (measured with the 200 markers example included in the download package).
  • Fluster only calculates markers and clusters which are in the viewport of the map. When increasing zoom mode, fewer markers/clusters have to be processed. When dragging the map, calculation of the needed markers is triggered.

Download

From now you can download Fluster2 from SourceForge.


comments powered by Disqus