tyjoti89 / google-maps-utility-library-v3

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

MarkerClustererPlus 2.0.15 mouseover and mouseout events not firing for individual cluster class #227

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Essentially the mouseover and mouseout events need to act on the Cluster class 
and not the MarkClusterer class.

You can read the full details on StackOverflow where I typed up the question 
and answer:

http://stackoverflow.com/questions/14589958/how-come-the-mouseover-and-mouseout-
events-for-markerclustererplus-js-are-not-fi

Original issue reported on code.google.com by johnriss...@gmail.com on 29 Jan 2013 at 7:19

GoogleCodeExporter commented 9 years ago
This is not a bug. The intention is to trigger the events for the 
MarkerClusterer class as a whole so that you get the events if *any* of the 
individual clusters is mouseovered or mousentered. The event handler can then 
examine the cluster parameter it receives and decide whether to do anything 
with it.

It was done this way for compatibility with earlier versions of MarkerClusterer.

Original comment by garylitt...@gmail.com on 14 Feb 2013 at 3:34