alanrogerson2
asked on
Continuous update/refresh for Google maps - can this be done?
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
>>bit of a cheat
never ;-)
thanks for the points
Ellandrd
never ;-)
thanks for the points
Ellandrd
ASKER
Thanks for all your help.