离子 - 从用户设备中获取历史地理位置数据?

发布于 2025-02-11 07:59:54 字数 116 浏览 1 评论 0原文

我正在构建一个离子应用程序,我想在其中访问用户当前位置,而是他们的位置历史记录。具体而言,我想在两个给定的数据时访问他们的位置历史记录。

有没有人使用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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

維他命╮ 2025-02-18 07:59:54

您无法获得历史用户位置,需要在数据库(也许是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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文