You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also running into this issue, and as for a test, without using Clusters, replacing AdvancedMarkers to Markers (albeit depreciated) seems to be a notable difference in performance.
Okay so I believe the performance difference between the deprecated Marker and AdvancedMarkerView (Custom Markers) boils down to rendering methods:
Deprecated Marker: Renders via canvas/static images and is highly optimized for large quantities (1000+ markers), with minimal DOM overhead. AdvancedMarkerView: Uses individual DOM elements for each marker, which does offer more customization but can cause performance issues with large numbers due to DOM manipulation, reflow, and repaint costs.
Unfortunately, I will have to use the deprecated Marker in my case.
I have ~15000 markers and when I try show it with MarkerCluster my browser freeze and page doesn't response.
Use like this:
Am I doing something wrong or is this not optimized?
The text was updated successfully, but these errors were encountered: