There are a couple of problems with the way you create your InfoWindow which is causing JavaScript errors.
1) You aren't setting the 'map' property of the InfoWindow. In your case you should set this as part of the options object when you create the InfoWindow. 2) Calls to InfoWindow.open() only take a single parameter - the marker or location to which the InfoWindow should point. You've got 2 paremeters so the second one is completely ignored. The first, map, is not a valid location parameter. Chad Killingsworth On Jun 25, 6:57 am, sisko <[email protected]> wrote: > I am using css to hide my map by default and then using jquery to > display it when a map button is clicked. > > At the point of jquery displaying the map, there was an initial > problem with the map not rendering properly. > I used google.maps.event.trigger(map, 'resize') to sucessfully fix > that problem. > > But then I found the map center and the marker are out in the top left > hand corner. > If I drag the marker back to the center I also found the infoWindow is > no longer working in IE > > For an example check > outhttp://www.test3omniforce.co.uk/venue/royal-courts-justice. > Please click the map icon in the "About this venue..." box just below > the navigation menu. > > hoping someone can help, > sisko -- 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.
