Take a look at Mike's tutorial here: http://econym.org.uk/gmap/zindex.htm
Setting the z-index of markers You can't change the order of the markers afterwards. The Function only gets evaluated when the marker is addOverlay()ed. Doesn't sound like you can change a marker's z-index after it's been added to the map. Otherwise i'd suggest looking at the source code for my ClusterMarker if you need code to determine your markers' bounds on the map and whether they intersect: http://googlemapsapi.martinpearman.co.uk/articles.php?cat_id=1 Martin. On 13 May, 05:34, hkk <[email protected]> wrote: > Hi Friends, > > I'm developing an application using google maps where there are large > number of markers. The markers overlap and that is creating an issue. > I have used the clusterer method and hence resolved the issue. > However, i was thinking about a different approach and wanted to know > how to reach to it. > > When, say 50% of marker A is overlapped by marker B, and when I mouse > over on marker A, then , marker A should come front pushing marker B > to the back and on mouse out, marker B should come front again. > > Can some one please give a solution for this. I have a deadline to > meet and which is today and i have been trying different things like > overlaying all markers again. But none works. > > Thanks in advance, > > hkk --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
