Hi:
I have developed a local html file that includes a google map. I have
used the google maps api to insert markers, polygons etc. I would also
like to use a KLM file for showing new locations, markers and shapes
on the map. Since the KLM file is in local, when a create a GGeoXml
object to use the KML file, I can not use a url reference. I have
tried "file.kml" as the url for the constructor but It seems that it
does not work.
The code is:
geoXml = new GGeoXml("cta.kml");
map.addOverlay(geoXml);
the cta.kml file is in the same directory that the html file.
How can I refer to kml file from the GGeoXml constructor?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---