google maps your timeline api

JavascriptGoogle Maps

Javascript Problem Overview


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 !

Javascript Solutions


Solution 1 - Javascript

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.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionRahmouni RabiiView Question on Stackoverflow
Solution 1 - JavascriptThomas KarachristosView Answer on Stackoverflow