[OpenLayers-Users] KML NetworkLink and auto-refresh
Christopher Schmidt
crschmidt at metacarta.com
Wed Mar 25 07:37:17 EDT 2009
On Wed, Mar 25, 2009 at 05:21:29PM +0800, Andrew Smith wrote:
> Hi all,
>
> I found an entry in a Google Code FAQ (
> http://code.google.com/support/bin/answer.py?answer=69906&topic=11367#displaying)
> showing how to use MySQL to create KML files which can be loaded into Google
> Earth or Google Maps. The thing that interests me is the following:
>
> <?xml version='1.0' encoding='UTF-8'?>
> <kml xmlns = 'http://earth.google.com/kml/2.1'>
> <Folder>
> <NetworkLink>
> <Link>
> <href>http://example.com/phpsql_genkml.kml</href>
> <refreshMode>onInterval</refreshMode>
> <refreshInterval>3600</refreshInterval>
> </Link>
> </NetworkLink>
> <NetworkLink>
> <Link>
> <href>http://example.com/phpsql_genkml_ls.kml</href>
> <refreshMode>onInterval</refreshMode>
> <refreshInterval>3600</refreshInterval>
> </Link>
> </NetworkLink>
> </Folder>
> </kml>
>
> This indicates that the KML files are automatically reloaded by Google
> Maps every 3600 seconds. It looks like refreshMode and refreshInterval
> are part of the KML specification. Does OpenLayers support this auto
> refresh functionality?
Nope.
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Users
mailing list