Skip to content
๐Ÿ™ˆ๐Ÿ™‰๐Ÿ™Š A Curious Animal
Go back

AnimatedCluster pan related bug... fixed !!!

If you regularlyย follow this blog and are web mapping developer that works with OpenLayers, (too much coincidences???) probably you know about theย theย Animated marker cluster strategy for OpenLayersย I created some time ago.

Unfortunally, the last version (v0.2) has a ugly bug. The code works fine when you change the zoom level but clusters are not updated when you pan the map.

Iโ€™m happy to say right now I have uploaded a new version (v0.3) which fixes this bug on my GitHub repository. Basically, now the code controls if the action is a zoom change or a pan movement and updates and animates the clustersย accordingly. That is, if you pan the map the clusters on the current level are recomputed.

Take into account this can cause the features where clustered in different clusters, so you can see how bubbles changes its position and number of features within it.

In addition, the demo page has been updated with the new version. Check it !!!

animatedcluest

Thanks to all the great people that has sent me theirย experiencesย when using the AnimatedCluster !!!


Share this post:

Previous Post
Things I learnt creating a jQuery Plugin (Part I)
Next Post
Things I learned creating a jQuery Plugin (Part II)