Closed andrealonzo closed 8 years ago
This seems to be a known issue with google-maps react
https://github.com/tomchentw/react-google-maps/issues/172 https://github.com/tomchentw/react-google-maps/issues/210
It seems like react-google-maps markerclusterer rerenders with every map event (pan, zoom, opening and close info windows). This doesn't seem like it matches the behavior of the normal markerclusterer library. Some possible ideas for fixes
we will stop using clusters
Not sure how to fix this. Maybe use shouldComponentUpdate and tell react not to update icon if the cluster is the same?