On Jun 20, 4:47 pm, Chandra Miller <[email protected]> wrote:
> My map is located athttp://156.42.96.39/alert/Google/sunflowerfire.html.
> I want my javascript file located 
> athttp://156.42.96.39/alert/Google/rainfall_sff.js
> file every 5 min.  I put the <meta HTTP-EQUIV="Refresh" CONTENT=300>
> within the .html file but it refreshes the whole page instead of just
> refreshing the .javascript page.  The when the .js file updates it
> pulls the most up to date .xml file which contains rainfall data.
> When it is in the .html file if you pan, zoom and turn layers on, you
> lose it all after 5 min.  What can I do to just make the .js file
> update to the new xml data is displayed on the map?

FYI -the v2 API is deprecated, you should be developing using the v3
version of the API.

To answer your question, the usual way to refresh data is to use
AJAX.  Mike Williams has a description in his v2 tutorial:
Part 11 The AJAX Philosophy
http://econym.org.uk/gmap/basic11.htm

  -- Larry
>
> Chandra
> [email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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