Hey garethhowell, Thank you for your solution! Today I ran into the same problem, but it has been a while since I wrote the script, so at first I did not know what you meant with 'I needed to set the pane to be a mapPane rather rather than overlayImage'.
For all the other else looking for a quick fix: when you use USGSOverlay (like Google's sample at http://code.google.com/intl/nl/apis/maps/documentation/javascript/overlays.html#CustomOverlays), lookup function USGSOverlay.prototype.onAdd and change the last line from: panes.overlayImage.appendChild(div); to panes.mapPane.appendChild(div); Cheers, Laurens Meurs, Rotterdam On 9 mei, 00:18, garethhowell <garethdood...@googlemail.com> wrote: > Thanks for the reply. > > I'm afraid i was just being dumb! I needed to set the pane to be a > mapPane rather rather than overlayImage. > > Duh! Works fine now > > On May 8, 8:58 pm, Esa <esa.ilm...@gmail.com> wrote: > > > z-index arranges front/behind appearance of child nodes inside a > > parent node. If the parent node is behind another node, no z-index > > will bring a child on front that another node. > > > I guess you have to adjust the 'pane' of your custom > > overlay.http://code.google.com/apis/maps/documentation/javascript/reference.h... -- 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 google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.