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?
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.
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).