yenbao1340 / gmaps-utility-library-dev

Automatically exported from code.google.com/p/gmaps-utility-library-dev
0 stars 0 forks source link

MarkerClusterer does not seem to work after calling addMarkers #108

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. create a new MarkerClusterer instance (without the markers argument)
2. call MarkerClusterer.addMarkers
3. zoom in into the map until it "unclusters" all markers (which will never 
happen).

What is the expected output? What do you see instead?

I expected it to recluster the markers, but that does not happen.  To work 
around, I've to recreate a new instance of the clusterer.

See an example at http://ruilopes.com/tmp/markerclusterer/index.html, click 
the "reload markers button", and follow step 3 from above.

What version of the product are you using? On what operating system?

MarkerClusterer 1.0 on FF 3.0.9.

Original issue reported on code.google.com by rui.godi...@gmail.com on 28 Apr 2009 at 7:55

GoogleCodeExporter commented 8 years ago

Original comment by pamela.fox on 28 Apr 2009 at 7:56

GoogleCodeExporter commented 8 years ago
Is this maybe related to the fact that removeMarkers calls 
cluster[i].remove(marker)
rather than cluster[i].removeMarker(marker)?

Original comment by puntofi...@gmail.com on 3 Jun 2009 at 2:25

GoogleCodeExporter commented 8 years ago
I confirm this issue on Firefox 3.0.6 and Safari 3.2.1 on OS X 10.5.6

Original comment by evgeni.s...@gmail.com on 3 Jun 2009 at 2:29

GoogleCodeExporter commented 8 years ago
Fixed

Original comment by frank200...@gmail.com on 20 Jun 2009 at 7:54

GoogleCodeExporter commented 8 years ago

Original comment by pamela.fox on 23 Jun 2009 at 9:20