Hi, It seems that Internet Explorer (all versions) caches XML that contains coordinates for markers.
What I do with my map is this: - I load the data (longitude, latitude, org. name, etc) of each organisation (limited to 10) from MySQL database using PHP script - then the PHP scripts creates file makers.xml which is overwritten each time a new search is perfomed on the page and different data are taken from database and saved into markers.xml - in JS, markers are removed using marker.setVisible(false) while looping through each maker - makrers.xml is then open by JS and new markers are displayed on the map (and this is what is not happening in IE) In IE, if I load the map for the first time, it loads those first 10 records from XML correctly but when I performs search and markers.xml is overwritten with new data, it still shows the old 10 markers. It works if I delete temporary files from IE, but again, only once, then it is cached again. Worked perfectly on my FF 3.5 and Opera 10.00. So my question is: How can I get rid of the cached XML? Is there any function for it or a workaround? This is the HTML header of page where the map is: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas- microsoft-com:vml"> <head> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> <meta http-equiv="Pragma" content="no-cache" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> Thank you very much in advance. Mac --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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 -~----------~----~----~----~------~----~------~--~---
