On Mar 26, 10:37 am, "kodl.m" <[email protected]> wrote:

>
> Can anyone help me to find the problem.

Please give a url rather than a code listing.

This code
 var kml = url_kml("http:...MyPlaces.kml");
should produce an error saying that the function url_kml is not
defined. Even if it does exist, the next line
 var geoXml = new GGeoXml(url_kml);
attempts to pass that function to GGeoXml.

I think you meant to define "kml" as the url of the kml file, and use
that in the call to GGeoXml:
 var kml = "http:...MyPlaces.kml"; // use the full path of course
 var geoXml = new GGeoXml(kml);

Doing this will allow the variable called "kml" to be used in your
buttons.

Andrew
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to