开发者

How to mirror an iPhone map in a web page

Basically I want to send gps coordinates (displayed on a map in the iPhone) from the iPhone to a webserver that store the values in a database. You should then be able to retrieve these coordinates and display them on a web page. I am thinking of a set up like this:

How to mirror an iPhone map in a web page

I want the browser to request and receive the coordinates in real 开发者_开发知识库time (every 10 seconds or so) and I'm wondering if this is a good way to mirror the map in a browser or should I use a different approach? Finally, can you see any obvious flaw/flaws in this design (i.e. performance issues)?


your setup makes sense. The question is, what will you use to keep the map in the browser up to date? I would suggest you check out http://socket.io, I think it will do exactly what you need.

Cheers,

Johannes

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜