> So now I'd like to try having the sidebar > mouseover/out add and remove a layer. That should cause the rollover > markers to always appear in front, right?
On reflection, I think you might need to rethink the whole approach actually. You'e using ordinary GMarkers, the API defaults to placing these on the map with the northermost ones 'stacked' behind more southerly ones, for a sort of 3D effect. I don't think removing and replacing will change that. Mike's ever-useful pages cover changing z-index of markers - http://econym.org.uk/gmap/zindex.htm but be warned it's not easy. I'd guess you want to do something like bump up the z-index of a given marker on sidebar mouseover, and restore it on mouseout, so it may not be too difficult. cheers, Ross K --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
