Try this: http://devblog.cloudsync.com/projects/csgeoxml/

Similar to both GGeoXML and EGeoXMl but allows you to load them all as
a single overlay.

On Nov 6, 9:06 am, jatorrero <[EMAIL PROTECTED]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to