googlemaps / googlemaps/js-markerclusterer

Markers and Clusters are redrawn when zoom is changing

Open
#439 4 comments 13 reactions 1 assignee Claimed by @wangela View on GitHub
triage me type: bug
Dominant language
TypeScript
Stars
293
Forks
104
Avg merge
3m
Merged PRs (30d)
18

Description

I reviewed this example `http://jsfiddle.net/geocodezip/f5baj1uq/`
it uses `https://cdnjs.cloudflare.com/ajax/libs/markerclustererplus/2.1.4/markerclusterer.js`
I love it because I zoom markers and clusters and them are not redrawn.
[MarkerCluster-Ok.webm](https://user-images.githubusercontent.com/67704982/192104052-b6b67bc5-cc0b-44a8-bed3-1b862caaf7fe.webm)

But checking the last version `https://googlemaps.github.io/js-markerclusterer/public/defaults/` I see that all markers and clusters are drawn for example in each zoom changing giving a bad user experience because unnecessary markers and clusters are drawn again.
[MarkerCluster-Ko.webm](https://user-images.githubusercontent.com/67704982/192104133-b37be700-7e72-44f8-898c-b9b8bb91f1cb.webm)

Is there an option in the last version to avoid flash/redraw effect in markers and clusters?
Thanks for your response.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.