简体   繁体   English

谷歌地图你的时间线api

[英]google maps your timeline api

google maps' new feature your timeline https://www.google.com/maps/timeline seems to be useful to retrieve location history for a given user, my question is how to use google maps to retrieve this timeline ? 谷歌地图的新功能您的时间表https://www.google.com/maps/timeline似乎对检索给定用户的位置历史记录很有用,我的问题是如何使用谷歌地图来检索此时间线? it is possible ? 有可能的 ? sorry am new to google world and i have looked for this information on their site but no news. 对不起我是谷歌世界的新手,我在他们的网站上寻找这些信息,但没有消息。

Thanks ! 谢谢 !

No. There isn't an API, this time, to get data from the timeline, but the data can be access from takeout by the user. 没有。这次没有API从时间线获取数据,但数据可以由用户从外卖中访问。 So the only thing you can do is request from the user to upload the JSON(or KML) file of the data. 因此,您唯一能做的就是请求用户上传数据的JSON(或KML)文件。

You can put in your site a url like this: https://takeout.google.com/settings/takeout/custom/location_history and tell to user to download the json file and upload it. 您可以在网站上添加以下网址: https//takeout.google.com/settings/takeout/custom/location_history并告诉用户下载json文件并上传。

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

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