Wasn't it Peso who wrote:
>3) All browsers FAIL to reposition using API version 2.141 or 2.x or 
>any version higher than 2.92  because the autogenerated 
>"map_canvas_overview" DIV cannot be accessed by getElementById() which 
>returns NULL

That's because the modularization of the overview map has made its 
creation asynchronous. If you wait for the external module to be loaded 
and perform the creation of the overview, then the div does become 
available.

Unfortunately, there doesn't appear to be any accessible event or 
callback that tells you when the external module has loaded. [API v2.142 
has a new "controlinitialized" event, but I think it only gets triggered 
on some internal unexposed object].

See: http://econym.org.uk/gmap/example_modularized.htm

-- 
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to