Can my map talk to my other map?
April 14, 2006 7:20 PM Subscribe
I need help on learning fancy new web coding techniques
posted by forforf to Computers & Internet (13 answers total)
I know what I want to do, and I think its possible, but I'm not sure. I want to know if its possible to have two web browsers look at a map (ala Google Maps) and have one person control the map in real time and have the other person see those updates in real time. Difficulty: The users are not accessing the same web page/application. So Browser A accesses Mapping App A, and Browser B accesses Mapping App B, but both browsers have the same (or very similar) map view. App A and App B can (have to) share information, and that's where I'm getting stuck. I'm pretty sure I can do this with client side refreshes, but I really don't want to do it that way. I am stuck on figuring out how to get the Apps to share information (ideally using XML as the formatting, but not critical). I do have both mapping apps up and running. I would like to this to run on my hosted webserver (php, mysql, probably some other stuff that I'm even less familiar with). The mapping app is basically just the Google Mapping API. So, how about it? Is there a straightforward way to pass the Lat, Long from App A to App B in real time?
Pointers to tutorials on passing data between Webserver Apps would be fine as well. Also, is there a name I can use to improve future googling on the concept?
Thanks for any help.
PS - Please note, the problem is not how to get users to share a map view. I don't care about that. What I care about is App A updating App B and vice versa and passing those updates on to users using those apps. And one last request ... please be nice to the Web2.0 newbie