GuillaumeLeclerc / vue-google-maps

Google maps component for vue with 2-way data binding
561 stars 655 forks source link

Suggestions for performance with lots of markers #61

Open m1 opened 8 years ago

m1 commented 8 years ago

I'm currently in the process of writing an app that deals with lots of markers, around 5000 markers is the max, but even with around 1000 markers, I'm seeing a page freeze when initially loading the markers, and then another complete page freeze when updating the markers -- (the app updates the marker position and also the icon sometimes every 2 minutes from an API using vue-resource).

GuillaumeLeclerc commented 8 years ago

I know there is a way to implement something like "Multi markers" (optimized for a lot of markers) with the google maps API. But it is at the moment not supported by vue-google-maps. I would gladly accept a Pull request implementing this feature.

smartpierre commented 8 years ago

You can make use of clusters with vue-google-maps, that can help you manage a lot of markers.