是否可以从 google 地图 API 中获取过去旅行过的地方的经度、纬度和时间戳?

Is it possible to get the longitude, latitude and timestamp from google maps API for the places travelled in the past?

我正在考虑为黑客马拉松构建一个应用程序,我需要知道是否可以在其中获取位置坐标和这些坐标的时间戳。

例如,X 在时间 p 中位于 A,在时间 q 中位于 B,现在我可以从 Google 地图 API 中获取这些参数,这些参数必须从它的历史? This is a place where one can check there location history 我想知道的是,是否可以通过API?

正如您所猜到的,我在 android 中完全是个菜鸟,所以任何帮助都是有价值的。 :) 提前致谢。 干杯。

据我通过 Google 和其他来源搜索,Google 没有提供 API 这导致我们在最近的历史时间中的旅行路径或地点。

But...

Google has provided APIs set through which we can implement this task on our own. They are Distance Matrix APIs and Direction service APIs

要完成此任务,方向服务 API 是实现此任务的好方法

你可以查看我的问题:

我找到了很好的教程,现在给你:

  1. Showing Current location on Google Map Android

  2. Driving Location from our location to any destination

我也在尝试使用以上两个教程来实现这个任务。