This repository has been archived by the owner on Dec 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 53
Marker clusterer bug while dragging the map #10
Comments
might be duplicate of googlemaps/v3-utility-library#506 |
yes i noiced the same thing. It happens only on mobile, desktop works fine. I tried to fix it but the only option I could find is to bypass the pointer events on the cluster by adding some css: .cluster {
pointer-events: none !important;
} This is not ideal at all, since then of course you also disable the click events on the cluster, hence loosing a great functionality. Or is there a way to prevent all pointerevents but allow only the click event? |
A little dirty hack, that works for me:
|
It might be worth considering the recently refactored version of this library now found at https://github.com/googlemaps/js-markerclusterer. |
See #300. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Okay, I'm developing an Ionic 3 app and implemented the Google Maps along with Marker Clustering too. I noticed that when I drag the map, there is an issue. If I start dragging the map while my finger is on one of the marker clusters, the map cannot be dragged. But if I do the same outside the area, it works fine.
Am I missing something or this bug actually exists? Kindly help.
The text was updated successfully, but these errors were encountered: