-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance is extremely slow, browser is freezing, why? #179
Comments
i know why is slow, 200 marker with lable generate 200 overlay views, to make it fast, how can i make 200 lable share only one overlay view? |
if i draw 200 lines, i can draw 200 line in one polyline, fast if i draw 200 line use 200 new polyline object, it will be slow |
what is the zIndex means?
|
I createa 200 label with 200 new_marker_label = new MarkerWithLabel({.....}) I believe this will create 200 labels with 200 seperated overlay view. That result in very low performance. I decide to set zIndex to a fixed number, such as 999. try to make 200 label use single overlay view, to speed up performance, however, it is same result, very slow. |
We are having an similar issue with about 80 labels at the exact same position. It loops through all labels stacking the next on top which causes 80 * 80 action calls. The whole process takes about 5 seconds to complete which causes a flickering of the markers. |
I add 200 labels, browser seems freezing, I click reload button, refresh button on browser menu, it reload after 10 seconds.
obviously 200 labels make browser not responsive.
any advise?
The text was updated successfully, but these errors were encountered: