> The error: > Object doesn't support this property or method, apparently associated > to this line: > map.addOverlay(marker);
You need to declare your empty 'map' variable in global context, so that it is available to the XML callback function later. Do away with the 'var' part of the GMap2 creation in your load() function so that it re-uses the global 'map'. -- 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.
