> http://www.knifeforkspoon.com/wi_54403/profiles/show_details.cfm?id=11
> Still can't get the "test" infowindow to pop up.
In IE6, it throws an error with
map=new GMap2(...
because 'map' has not been declared previously. Different browsers
handle that situation differently.
You'll want to declare 'map' as a global object, so simply put
var map;
outside of your load() function in the global namespace.
In FF2 it throws an error with
map.setMapType("map");
because "map" is not a valid parameter for that method. See
http://code.google.com/apis/maps/documentation/introduction.html#MapTypes
I think the infowindow problem is pitfall #3 described in
http://econym.org.uk/gmap/basic1.htm
you haven't got closure on the variables for the infowindow setup.
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
-~----------~----~----~----~------~----~------~--~---