I have a map that works like this:

- Click a marker and an InfoWindow is opened. The content of the
InfoWindow will just be 'Loading...'

- The content for the InfoWindow is requested from the web server
- The InfoWindow is updated with the content received from the web
server
- Another call to open the InfoWindow is made so that the map will
automatically pan to include the (now larger with content) InfoWindow
in the viewport
However, in IE7 I get an error:
Microsoft JScript runtime error: 'undefined' is null or not an object


Here's a screenshot that shows where in main.js the error occurs:
http://www.iliveinabin.com/Img/Error-message.png



And this is how the page appears in the browser when the error occurs:
http://www.iliveinabin.com/Img/mashed-window.png



I can't be sure, but as far as I can tell the error is caused by making
a call to open the InfoWindow while the map is panning.


Possibly the same error occurs in other versions of IE as well.
Currently the map is severely broken in IE6 (disappearing and invisible
markers), but I need to look into that a bit more and will probably
post a separate thread about that issue.


You can see the map here:
http://www.davidkennardphotography.com/map-2.html



Any advice on what is causing this problem or how to fix it would be
greatly appreciated!


Thanks


Dave

-- 
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.

Reply via email to