简体   繁体   English

在地图上的实时位置实时跟踪多个用户

[英]Tracking multiple users in real time on a live location on the map

I'm searching for the track real time live location of the multiple users.我正在搜索多个用户的跟踪实时位置。 Like Ola cabs and Uber Taxi live location.像 Ola cabs 和 Uber Taxi 实时位置。 I try to find so many things but didn't find anything.我试图找到很多东西,但没有找到任何东西。 I also try with the Pubnub.我也尝试使用Pubnub。 but not success on it.但没有成功。

Thanks in advance.提前致谢。

I suggest that you should have a WebSockets service, So the accuracy of tracking is good & up to date,我建议你应该有一个 WebSockets 服务,所以跟踪的准确性是好的和最新的,

You will use one client to send (long, lat) to the WebSockets service,您将使用一个客户端将 (long, lat) 发送到 WebSockets 服务,

The other client will receive the latest updates from the sockets connection, Then you show these updates on your map.另一个客户端将从套接字连接接收最新更新,然后您在地图上显示这些更新。

All that looks easy, But It will require a solid backend service implementation, To handle sockets failure, Also a solid management of locations services on the client end, As this will drain battery super fast.所有这一切看起来都很简单,但它需要一个可靠的后端服务实现,处理套接字故障,还要对客户端的位置服务进行可靠的管理,因为这会超快地耗尽电池。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Android 实时位置跟踪 - Android Real Time Location Tracking 什么是实时跟踪GPS位置而不是在时间循环上调用绘图地图功能的最佳方法? - what is the best method for real time tracking of GPS location rather than calling plot map function on time loop? 如何使用谷歌地图实时保存跟踪 - How to save a tracking in real time with google map 使用 FusedlocationProviderClient Api 在 Android 中进行实时位置跟踪的问题 - Problem with real time Location tracking in Android using FusedlocationProviderClient Api Android 实时谷歌地图位置跟踪 - Android real-time Google Maps location tracking 使用实时位置更新映射活动 - Map Activity with real time location update 具有可扩展性,可处理并向附近用户发出实时位置更新 - Handling and emitting of real time location updates to nearby users with scalability 地图上多个标记的实时动画 - Real time animation of multiple markers on Map 实时跟踪多个用户位置(在所有登录用户中)? - Track multiple users locations real time (among all logged in users)? 如何在另一个活动中获取Google Map实时位置 - How to get google map real time location in another activity
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM