Chris, I too have been noticing unexpected problems in z ordering with V3.4, not sure if it's related to this problem, but it might be.
In my case, I'm attempting to set the z-index of an OverlayView object based on the current z-index of an associated Marker so I can order them properly relative to one another (usually to force the OverlayView on top). Sometimes, though, the OverlayView object appears below the marker. I think this happens sometimes because the order in which objects are drawn on the map varies (or perhaps is random). When the map is zoomed, for example, this will affect the z-index of the DIV holding the Marker (because it's set to the vertical position if no explicit z-index has been set for the Marker). However, the OverlayView will not detect the change if the OverlayView is drawn *before* the Marker, so the relative ordering of the two objects may not work out as expected. (If the Marker were drawn first, there would be no problem.) To solve this problem, it would be beneficial if one could listen for an event that is fired when a Marker is drawn or redrawn (doesn't exist at the moment) or if the name of the Marker draw method were known. Any suggestions? Gary On Mar 17, 5:24 am, Chris Broadfoot <[email protected]> wrote: > On Thu, Mar 17, 2011 at 7:59 PM, sgiddings <[email protected]> wrote: > > The result, that I see at least, is that the second marker is displayed > > behind the first. > > I tried to reproduce this and can't. Please whip up a sample page! :) > > Chris > > --http://twitter.com/broady -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
