Replies: 1 comment
-
Hello, I have the same issue the most when we remove markers (arround 1800 markers) and th emarker clusterer have a big delay to rerender, more than 30 seconds most of the time. Thanks if anyone has tips! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an application that is clustering markers using the
MarkerClusterer
component. I am noticing slowdowns when trying to revisualizeMarkers
.I am able to load small amounts and large amounts of markers just fine after the application has first loaded. But I run into issues when I try to load new markers when 10,000+ or so markers are already rendered. I am trying to replace the already rendered markers with an entirely new set of unrelated markers.
Below is the component I am using to cluster markers. The user has the option to cluster by an event's category or country, that is why the
layers
are used.What I am seeing is every time I try to fetch new data, the existing
Marker
components are being removed and it seems to trigger a redraw.Is there a way to optimize the performance here or even simply remove all markers in an efficient manner?
Beta Was this translation helpful? Give feedback.
All reactions