openlayers/openlayers — pull request #472 by probins (2012-05-17 16:04:26+00:00)
Title: Fix Google terms/poweredby/popup

Fix to bring Google/v3/repositionMapElements() in line with current Google setup.
This changes the logic so it no longer depends on the order of the child divs in Google's mapObject, but uses zIndex instead. This is no more robust, but I couldn't think of any other way to distinguish the divs. AFAICS the only reliable way to fix this is to ask Google nicely if they could add an id to their divs, so OL can fish them out correctly.

examples/google-v3 with this patch shows all working - terms, logo, plus the popup when you click on 'Map.Data'.

@elemoine I assume you want this in 2.12