angular-google-maps icon indicating copy to clipboard operation
angular-google-maps copied to clipboard

Markers Clusters Disappear on Zoom/Fit

Open Life4Cali opened this issue 11 years ago • 11 comments

So in version 2.0.11 everything worked well, marker clustering worked and refreshed when zooming and fitting to map (even with animations on the markers).

Now as of 2.0.12 if you try to zoom or have the map fit, the clusters disappear and markers do not take their place as you zoom in. I've tried custom clusters, default clusters, both with or without custom markers; no luck.

I'm not sure if I saw an issue like this already but it seemed like it was closed and I've updated to the latest version since then. I figured I'd specify that for me 2.0.11 worked fine, then 2.0.12 failed.

Life4Cali avatar Dec 31 '14 14:12 Life4Cali

Clustering issues have been fixed on master, check against that

nmccready avatar Jan 01 '15 00:01 nmccready

@nmccready thanks for the fix. I ran into the same problem and using master instead of the latest tagged release fixed the issue.

However, the clusters no longer respond to cluster events. My cluster events worked in 2.0.9 but since I updated to 2.0.12 and then to master the cluster events no longer work for me.

normank86 avatar Jan 03 '15 21:01 normank86

Can you make an example?

nmccready avatar Jan 04 '15 01:01 nmccready

Here is a link to a plunker that I made by forking the example from the documentation page for markers: http://plnkr.co/edit/XLYCZV?p=preview . There should be an alert when the cluster is clicked. Also I ran into another bug when I tired to open marker windows. Opening the windows require a double click to open on the first try and then can be opened with a single click there after.

normank86 avatar Jan 04 '15 20:01 normank86

I just ran into the same problem with angular-google-maps v2.0.12. If I swap out and use http://rawgit.com/angular-ui/angular-google-maps/master/dist/angular-google-maps.js then the problem goes away and when I click on a cluster the underlying markers don't disappear.

adamspe avatar Feb 18 '15 23:02 adamspe

Yes I am trying to polish off a few things and put 2.0.13 out soon.

nmccready avatar Feb 19 '15 00:02 nmccready

Same issue, on bower v2.0.12.

My clusters disappears when we zoom, but that happen only after some work and the search box integration, that worked well at the beginning. I didn't find why, even after having tested the way back.

Upgrade with master solved the problem :+1:

Thank you for this work :)

PierreBrisorgueil avatar Feb 23 '15 08:02 PierreBrisorgueil

Closing this since it is resolved on master (tba 2.0.13)

nmccready avatar Feb 23 '15 21:02 nmccready

I have this problem with version 2.3.1. About 30% of the time, if the data is refreshed and the zoom changes, the clusters are gone. They show up once the map is dragged a little. Any ideas?

alcfeoh avatar Jan 29 '16 04:01 alcfeoh

no please make an example

nmccready avatar Jan 29 '16 14:01 nmccready

@alcfeoh please make a new issue

nmccready avatar Jan 29 '16 14:01 nmccready