-
Notifications
You must be signed in to change notification settings - Fork 60
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
Lag with huge amount of markers #80
Comments
We have a dependency on Edit: You can also try switching to |
There is also the following option: https://github.com/bdcoder2/grid_clusterer |
Here the example
Cluster options: Vue |
We are trying to kinda limit test this component, so we have a huge cluster of markers in one area ( about 4500 ). The loading is of course slow, but that is expected. What is the problem is, that when trying to move the map, its very laggy, almost unusable. Marker clusters help, when viewing from further distance, but it adds to load time quite some and it lags a lot when at certain zoom, even when the markers are out of viewport.
My optimizations are of course, making the marker options into Optimized:true, then when dragging the map, the markers dont load ( via v-if ).
Is there any other way, the map could be optimized further? Maybe the freezing can be removed by drawing the markers asynchronously if possible?
Again, its just some limit testing of the map, how much we can go until its unusable and we would like to optimize it as much as we can so we can have as many markers as possible.
The text was updated successfully, but these errors were encountered: