简体   繁体   中英

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 ? 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. So the only thing you can do is request from the user to upload the JSON(or KML) file of the data.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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