Thanks for your response, but I think maybe you misunderstood the
question.  The Circle and the disk icon are both in the same div,
which as you said is:
  overlay.getPanes().overlayLayer

But as far as I can tell, the only way to change the zIndex so the
Circle shows up over the disk icon is to do:
  overlay.getPanes().overlayLayer.childNodes.item(0).style.zIndex=1000

Which is a big hackish, no?  It means I'm assuming some structural
layout that's not part of the actual Google Maps API.  So if they
rearrange how the divs are set up (or if it's different in a different
browser or on a different platform like a mobile one), I'm screwed.

I was looking for a way to do this that actually follows the API.

On Dec 10, 11:11 am, Esa <[email protected]> wrote:
> Those div elements with z-index 101 and 105 are 
> MapPanes.http://code.google.com/apis/maps/documentation/javascript/reference.h...
> You can access panes by OverlayView.getPanes() method. Try:
>
>   overlay.getPanes().overlayLayer.style.zIndex = 200;

-- 
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.

Reply via email to