离子 - 从用户设备中获取历史地理位置数据?
我正在构建一个离子应用程序,我想在其中访问用户当前位置,而是他们的位置历史记录。具体而言,我想在两个给定的数据时访问他们的位置历史记录。
有没有人使用Ionic建造过这样的东西?
提前致谢!
I'm building an Ionic application in which I'd like to access not a user's current location, but their location history. In specific, I'd like to access their location history between two given datetimes.
Has anyone built something like this before with Ionic?
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您无法获得历史用户位置,需要在数据库(也许是Firebase)中每5或X分钟保存当前的用户位置,然后检索数据。
检查此
You can't get historical user location, you need to save current user location every 5 or x minutes in database (Maybe Firebase) and then retrieve the data.
Check this