> Ok I think I've figured it out;http://twizla.com.au/test/
> It works just with a slight pause when closing the infowindow, any
> better way to optimise my code?
It's broken in IE6
var map = null;
var geocoder = null;
window.info = new Infowin(point, html);
map and geocoder are being declared as global variables, with their
values to be supplied later. Why not declare info in the same way?
var map = null;
var geocoder = null;
var info = null;
Later on, when you create the map you simply do
map = new GMap2(doc......
why not create your infowindow in the same way
info = new Infowin(point,.....
cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---