Google Maps - KML Flush Cache

684 views
Skip to first unread message

Bob Heitzman

unread,
Apr 19, 2007, 5:49:38 PM4/19/07
to KML Support - Getting Started
I'm testing KML files and having a heck of a time getting updated
files to appear on Google Maps. I've restored to using a new file name
for each test.

Is there a way in the KML file to disable caching of the file?

A way in the browser to disable cache for a given site? Switch to
Firefox? Suggestions?

I'm using IE7 on Vista.

ManoM

unread,
Apr 19, 2007, 6:34:23 PM4/19/07
to KML Support - Getting Started
Hi Bob,

There is not a way to do this in KML. However, one thing you could do
is point to a NetworkLink that points to your file instead of pointing
to the file itself. Like this:
<kml xmlns="http://earth.google.com/kml/2.1">
<NetworkLink>
<Link>
<href>...</href>
<refreshMode>onInterval</refreshMode>
<refreshInterval>1</refreshInterval>
</Link>
</NetworkLink>
</kml>

That would refresh any file in <href> every second. So when you make a
change, it should update within a second.

ManoM

Reply all
Reply to author
Forward
0 new messages