I'm not expert enough to tell you exactly how to do it. But the main thing is you don't just set the zIndex of individual markers. If you want *all* the green markers to appear in front of *all* the red markers, you have to make two "arrays" (one for each color or category or whatever) and give each member of each array a set "importance order." It's kind of like putting them on different layers, except I think what happens is something like: all the red markers get zIndex numbers between 0 and 1,000,000; all the green ones between 1,000,000 and 2,000,000 and so on for as many "importance orders" as you care to create.
If you look at http://lovebunnies.luckypro.biz/01_stuff/roman_holiday/romanholidaymap.html, you can see how to do it. Just ignore my stuff about adding and removing the "overlays" (meaning markers and all their associated individual information). The sidebar works. I'm still having trouble with the marker rollovers themselves. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
