On Dec 1, 6:41 pm, water <[EMAIL PROTECTED]> wrote:
> but I do not have a public server to upload my kml files
>
> and the google earth plugin api can fetch kml from my local server:
>
> for example this codes work well:
> function loadMyKML(a) {
>         var url = "http://localhost:8080/Intel/kml/yindu/"+a+".kml";;
>         google.earth.fetchKml(ge, url, finished);
>
> }

You can't use GGeoXml to load files that aren't publicly available.

You can use EGeoXml or GeoXml (third party KML parsers) to do so,
however, if your page is eventually going to be publicly available
(i.e. you don't have a premier/enterprise license), you will
eventually have to make it public... (although you may be able to
protect it with a login)

  -- Larry

>
> On Dec 1, 6:36 pm, Mike Williams <[EMAIL PROTECTED]> wrote:
>
> > GGeoXml works by sending the URL of theKMLfile to a Google server
> > which then reads the data, processes it, and sends details of the
> > individual markers, polylines, etc. back to the client. The Google
> > server can't read files that are on your private network.
>
> > --http://econym.org.uk/gmap
> > The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
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