On 14 July 2010 20:23, sunbeam <[email protected]> wrote: > > what means, it cannot find the object, and i wonder why, when the > other way around, its working fine (with the default opener) > > any suggestions ?
Use your global map variable. Currently, you have a *local* variable called "map" defined within the function initialize(). Once that function has run and finished, all references to *that* "map" are destroyed. So when you try to pass "map" to the extInfoWindow so it knows which map to use, it's uses the global variable which is still unassigned. -- 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.
