Hi guys,
Ive installed a map onto a page, And loaded some markers onto that map
from the output of a php script
It outputs:
{"Locations":[{"name":"Rettenbach","lat":"47.9167","lng":"12.65"},
{"name":"Cleveland","lat":"41.3928","lng":"-81.7347"}]}
So the map knows the lat long and name.
Anyway, Thats great.
However this data changes..
Is there any way under the sun that can read this php file
( data.php ) every 10 seconds or so and update the markers.
Ie: remove old and add new markers?
Currently I do it from a whole page reload however this isnt good. It
would be nice for it to just update the map as it goes.
Any ideas?
Im new to jquery / ajax / gmaps so please be gentle..
Thanks
G
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.