Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
Needs more info comment that > 10 days [ID: 963198]
Comment such as: SPAM, non-actionable [ID: 963127]
Resolved actionable follow-up comments [ID: 963027]
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
The new advanced markers don't perform well when there are a lot of markers on the map. Right at around 5,000 markers, the map becomes unusable and unresponsive.
I am currently using the legacy markers and able to have up to 30-40k markers on the map with no issue as long as using the "optimized" setting. I understand the new markers allow for more customization and flexibility, but there is definitely a limit if you are adding all of the markers to the DOM as elements.
For now, we will continue to use the legacy markers, but seeing that they are deprecated, I am concerned about the long term viability of using google maps API for markers. Will it be safe to use the legacy markers in an ongoing fashion or will they be fully decommissioned in the coming years?
JS Fiddle Example:
Google Maps Version:
3.57.2
# What steps will reproduce the problem? Please also provide a code sample which demonstrates your issue (e.g. via
1. Open the js fiddle provided.
2. Try to pan the map around and notice it is very slow or freezes.