On Nov 8, 6:36 am, rlk27 <[email protected]> wrote: > I create multiple markers with label overlay on the top. I set each marker > with ZIndex value 700 and label with marker's zIndex+1. it works fine. I > do have mouseover, out, click event handlers. > > THe markers are redrawn (deleted and created again) based on the latlag > change (moves). when 2 or 3 makers are overlapping and, I see that the > bottom marker when moves, and redrawn, it comes on the top. this is > because I always use 700 for marker and +1 for label overlay. I also see > the it comes on the top.. btu I can not see it until refresh. > > when I have click the top marker in the overlapping scene for a infowindow, > the bottom marker moves (redrawn) comes on the top (but not visible until > refresh) mouse is still on the position and creates mouseover event on the > one redrawn. because it is not visible until refresh, it is confusing to > see. > > I want the bottom marker in the overlapping situtation to maintain it s > zIndex and not come in the front. Any suggestions. marker creation is the > same function which uses the 700 alway. any way to find zindex from the > laglat?
You could set the zIndex based on the coordinates. -- Larry > > Thanks > rlk27 -- 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.
