prasy8 / google-maps-utility-library-v3

Automatically exported from code.google.com/p/google-maps-utility-library-v3
0 stars 0 forks source link

MarkerClusterer dragging Markers performance #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If you enable dragging on markers used with a MarkerClusterer, and you drag one 
marker, the full array is recalculated and the view refreshs.
This is fine with e.g. 20Markers, if you have 100+ Markers, this looks very 
wired because all markers disapear for a second and reapear... This slows down 
a lot if you have a lot more markers of cause...

Suggestion:
Make the redraw of markers after dragging optional (via opt_options) or remove 
this feature at all:
Line 411 af
if (marker['draggable']) {
...

thanks

Original issue reported on code.google.com by elak....@gmail.com on 30 Jul 2010 at 12:18

GoogleCodeExporter commented 9 years ago
The MarkerClusterer hass been updated, if you can download the latest version 
and see if your problem is fixed and let me know if you still require a option 
to no redraw when a marker is dragged.

Original comment by lu...@google.com on 9 Feb 2011 at 5:49