I am trying to build a vehicle tracking system. It will comprise of:
1) XML file with GPS Coordinates
2) HTML document with Javascipt in order to link in with Google Maps API
3) XSLT document to get xml content into the appropraite format in html document
I have written a separate program in Delphi. This will automatically update the xml file with the current coordinates of the vehicle. This will update the XML file every 30 seconds.
It is all working at the moment, but in order for me to see the changing coordinates of the vehicle (remember that the xml file is being updated every 30 seconds) then i have to load the xml file and refresh the cache. I can't simply just refresh the html page as this just refreshes the html data.
Does anyone know of a way to have the xml data feed into the html document and continuously update the map that is being displayed? If this can be done without requiring the user to refresh anything (html or xml) then this would be the perfect solution.
Thanks in advance.