Google Maps (The Reload)

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
valleyfederal
Forum Newbie
Posts: 3
Joined: Mon Jul 16, 2007 8:24 pm

Google Maps (The Reload)

Post by valleyfederal »

I've implemented Google Maps to my website using the API service. When I search
for something, the results are stored in an XML file called KML that Google Maps interprets.
The results are then plotted on the Google Maps.

When I search for something else, the results are stored in the XML file successfully.
However, Google Maps doesn't successfully reload data. Instead, it usually takes
three minutes or so before the new data can be plotted on the map. Why is this
happening? Are there any ways to going on fixing it?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I'm not sure how this applies to PHP, specifically.. can you explain?
valleyfederal
Forum Newbie
Posts: 3
Joined: Mon Jul 16, 2007 8:24 pm

Post by valleyfederal »

It doesn't specifically relate to PHP other than that I used PHP to create the XML file. I was hoping that someone knew since Google Maps is a common API that programmers use.
User avatar
TheMoose
Forum Contributor
Posts: 351
Joined: Tue May 23, 2006 10:42 am

Post by TheMoose »

Sounds like the generated XML file is being cached by your browser. Try setting it to a no cache, and set your browser to check for updates every visit to the page (if using IE).
Post Reply