Hi there, Pil is right in looking in the namespace declarations. What I've noticed is that the namespaces declarations contain misplaced spaces which makes the xml invalid. I highlight them with **** string here:
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http:// ****www.google.com/kml/ext/2.2" xmlns****:kml="http://www.opengis.net/ kml/2.2" xmlns:atom="http://www.w3.org/****2005/Atom"> Correcting them and posting to w3c XML validator, the result is correct. Hope it helps, Davide On Jul 5, 7:09 pm, Pil <[email protected]> wrote: > It looks like as if the namespace was invalid. > > Try this namespace > > <kml xmlns="http://www.opengis.net/kml/2.2"> > > On Jul 5, 6:08 pm, Philip <[email protected]> wrote: > > > Im sorry to say but it doesn't work for me. The > > sitehttp://www.brechler-web.de/geodb > > doesn't show anything. > > I tried to load the generated kml into the site by hand and it works, > > so the generated kml seems to work. A static copy of the kml can be > > found here (http://www.brechler-web.de/genkml.kml > > > My plan is to build a dynamic (read: self reloading ;-) ) website for > > a "webapp" for iPhone OS. So just reloading the whole site is not a > > good idea. > > On Jul 3, 11:43 am, Pil <[email protected]> wrote: > > > > As far as I've tested out the network link must be inside a folder > > > tag. > > > > This - for example - works fine > > > > <?xml version="1.0" encoding="UTF-8"?> > > > <kml xmlns="http://www.opengis.net/kml/2.2" > > > xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns > > > :kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/ > > > 2005/Atom"> > > > <Document> > > > > <Folder> > > > <name>Live Data</name> > > > <visibility>1</visibility> > > > <open>1</open> > > > <NetworkLink> > > > <Link> > > > <href>http://www.brechler-web.de/geodb/genkml.php</href> > > > </Link> > > > </NetworkLink> > > > </Folder> > > > </Document> > > > > </kml> -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
