简体   繁体   中英

Real time map updating

I have a web service that takes user location periodically.

I want to create a desktop application that takes those values and shows the real time position of user on a map automatically.

What is the best method I can follow to get real time updates? Can I use Ajax ? Does it support auto refresh?

Is there a better method which supports auto refresh and also display real time data?

Thank you..!

Check out the SignalR library. There is a server-part and a clients part (Javascript, rich client) etc.). You could trigger the update in the client if the WebService was called. So the client is notified and could update his data accordingly. How many clients are connected? Maybe some other message bus like library would be more appropriate?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM