Hi all.
I have an app that feeds co-ordinate data into an SQL database. I have a php script that pulls this info back out and generates a KML file that is fed into a bit of javascript to display a googlemap. The points are then connected using polylines.
What I want to be able to do is use a long polling ajax request (i think) to wait for updates from the database. When an update occurs, i want a new point to appear on the map (but ideally not redraw the whole map).
Basically, i would like to recreate this using my database backend.
I have done a bit of research and am now looking at using either prototype.js or jquery.
The bit i'm not sure on at all is how can i use googlemaps to get what i want from it. I only have a tiny bit of experience using the googlemaps API and am asking for help in steering me toward the right way of doing this.
Thanks in advance.
I have an app that feeds co-ordinate data into an SQL database. I have a php script that pulls this info back out and generates a KML file that is fed into a bit of javascript to display a googlemap. The points are then connected using polylines.
What I want to be able to do is use a long polling ajax request (i think) to wait for updates from the database. When an update occurs, i want a new point to appear on the map (but ideally not redraw the whole map).
Basically, i would like to recreate this using my database backend.
I have done a bit of research and am now looking at using either prototype.js or jquery.
The bit i'm not sure on at all is how can i use googlemaps to get what i want from it. I only have a tiny bit of experience using the googlemaps API and am asking for help in steering me toward the right way of doing this.
Thanks in advance.