We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hey guys,
I wanted to share with you a code that can map your location history with p5.js and the library mappa.js. With the recent law in Europe, GDPR (https://en.wikipedia.org/wiki/General_Data_Protection_Regulation) you can ask Google to give you your data that they collect on every products they have (drive, gmail, chrome...). Just go on your google profile and confidentiality and click on "export your data" :
Then download your data from google maps (history of locations) which is a JSON file with all your stored locations.
This is the result :
The files are here : https://github.com/johhnry/google-map-hist-loc-map
If you have any questions, let me know :)
Comments
I find it is very slow, did you experience the same problem?
Kf
Well if you check
json.locations.length
in the console you should see the number of stored locations by Google. For me it's 15806 which (I think) is a lot but it's not very slow. You could just draw one location every 10 by changingi++
toi+=10
in the for loop.Yes, you are right. I had about 100k pts. Taking only 10% of them did the trick.
Thxs for sharing!
Kf
Thanks have a nice day! :)