Hi, I've just ran the kml through a validator, I notice 3 things:
1) Beware using < > characters in XML/KML, use &lt; and &gt; instead
whilst within elements
2) The validator throws errors when using refreshInterval (refreshMode
value must be "onInterval") & viewRefreshTime (refreshMode value must
be "onStop"), see here: 
http://service.kmlvalidator.com/ets/ogc-kml/2.2/#LinkRefresh
3) The feed  http://ousia.mine.nu/hen/get_kml is throwing some errors:
"Internal error, yaws code crashed".

Hope this helps!



code
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2";>
  <Folder>
    <name>Network Links</name>
    <visibility>0</visibility>
    <open>0</open>
    <description>Hen</description>
    <NetworkLink>
      <name>Hen</name>
      <open>0</open>
      <description>--></description>
      <Link>
        <href>http://ousia.mine.nu/hen/get_kml</href>
        <refreshInterval>2</refreshInterval>
        <viewRefreshMode>onStop</viewRefreshMode>
        <viewRefreshTime>1</viewRefreshTime>
      </Link>
    </NetworkLink>
  </Folder>
</kml>




On Sep 3, 3:09 pm, Francesco <[email protected]> wrote:
> Hi Joseph,
>   thank you for the advice, but it's not the solution.
>
> I changed the href but nothing happens.
> Moreover I've checked supported KML tags in Google Maps on
>    http://code.google.com/apis/kml/documentation/kmlelementsinmaps.html
> and I removed the unsupported one: viewFormat, but, still,
>  http://maps.google.dk/?q=http://ousia.mine.nu/hen.kml
> works while
>  http://ousia.mine.nu
> does not.
>
> -Francesco
>
> On Sep 3, 2:43 pm, Joseph Elfelt <[email protected]> wrote:
>
> > Your KML file says:
> >         <href>/hen/get_kml</href>
>
> > Try using a complete URL to your KML file and deleting the next 4
> > lines.
>
> > On Sep 3, 4:18 am, Francesco <[email protected]> wrote:
>
> > > Hi,
> > >   I'm experiencing the same strange behaviour.
>
> > > You can see the kml working at
> > >  http://maps.google.dk/?q=http://ousia.mine.nu/hen.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.

Reply via email to