<strong>Note:</strong> This tool only generates heatmaps. If you're looking for minute-by-minute analysis of your Location History, including accuracy information, location-based search, advanced filtering and measurement tools, and more, check out <strong><ahref="https://theopatt.com/lhv-pro">Location History Visualizer Pro</a></strong>.
<strong>Note:</strong> This tool only generates heatmaps. If you're looking for minute-by-minute analysis of your Location History, including accuracy information, location-based search, advanced filtering and measurement tools, and more, check out <strong><ahref="/">Location History Visualizer Pro</a></strong>.
</div>
<p>Welcome to <b>location-history-visualizer</b>, a tool for visualizing your collected Google <ahref="https://google.com/locationhistory"target="_blank">Location History</a> data with heatmaps. <i>Don't worry—all processing and visualization happens directly on your computer, so rest assured that nobody is able to access your Location History but you... and Google, of course.</i> ^.^</p>
<p>Welcome to <b>Location History Visualizer</b>, a tool for visualizing your collected Google <ahref="https://google.com/locationhistory"target="_blank">Location History</a> data with heatmaps. <i>Don't worry—all processing and visualization happens directly on your computer, so rest assured that nobody is able to access your Location History but you... and Google, of course.</i></p>
<p>To start off, you'll need to go to <ahref="https://google.com/takeout"target="_blank">Google Takeout</a> to download your Location History data: on that page, deselect everything except Location History by clicking "Select none" and then reselecting "Location History". Then hit "Next" and, finally, click "Create archive". Once the archive has been created, click "Download". Unzip the downloaded file, and open the "Location History" folder within. <b>Then, drag and drop <i>LocationHistory.json</i> from inside that folder onto this page.</b> Let the visualization begin!</p>
<pclass="fallback">Alternatively, select your <b>LocationHistory.json</b> file directly: <inputname="file"type="file"id="file"></input></p>
<hr>
<p><i>Experimental (even faster!) import method:</i> Instead of going through Google Takeout, simply browse to the <ahref="https://maps.google.com/locationhistory/kml?startTime=0&endTime=9000000000000"target="_blank">Google Location History KML API endpoint</a>. A file (<b>history-12-31-1969.kml</b>) will be downloaded – just drag and drop it onto this page, and we're off! <i>Note:</i> This uses a non-public Google API and as such may cease to work at any point. Your mileage may vary.</p>
<pclass="credit">A project by <ahref="https://theopolis.me"target="_blank">@theopolisme</a>. Made in 2014 in Memphis, Tennessee (updated 2015).</p>
<pclass="credit">An <atarget="_blank"href="https://github.com/theopolisme/location-history-visualizer">open source</a> project by the makers of <ahref="/">Location History Visualizer Pro</a>.</p>
</div>
<!-- Shown in interim while processing is in progress -->
<p>This will take a while... sit back, get a cup of tea or something.</p>
<p>This may take a while... sit back, get a cup of tea or something.</p>
<p><i>Why does it take so long?</i> Depending on how long Google's been tracking your location, you may have hundreds of thousands of [latitude, longitude] pairs, every one of which must be loaded, analyzed, and plotted. That's a lot of dots.</p>
</div>
<!-- Content displayed once processing complete -->
<divid="done"class="content-box hidden">
<h2>Render complete!</h2>
<p>Successfully processed <spanid="numberProcessed"></span> data points to generate the heatmap. Click inside this box to dismiss it and start exploring...</p>
<p><i>Zoom</i> by scrolling, double-clicking, or using the buttons in the upper lefthand corner. <i>Navigate</i> by clicking and dragging. Hover over the menu in the lower lefthand corner to customize the heatmap rendering.</p>
<pclass="credit">A project by <ahref="http://theopolis.me"target="_blank">@theopolisme</a>. Made in 2014 in Memphis, Tennessee.</p>
<p>Successfully processed <spanid="numberProcessed">a lot of</span> data points to generate your heatmap. Please submit your email address to start exploring...</p>
<p>Usage tips: <i>Zoom</i> by scrolling, double-clicking, or using the buttons in the upper lefthand corner. <i>Navigate</i> by clicking and dragging. Hover over the menu in the lower lefthand corner to customize the heatmap rendering.</p>
<divclass="disclaimer">By submitting your email address you agree to receive interesting communications from the Location History Visualizer team from time to time. If you're not interested, you can unsubscribe immediately.</div>
<pclass="credit">An <atarget="_blank"href="https://github.com/theopolisme/location-history-visualizer">open source</a> project by the makers of <ahref="/">Location History Visualizer Pro</a>.</p>
</div>
</div>
</div>
@@ -53,7 +59,7 @@
<!-- Appear when heatmap is displayed -->
<divid="controls">
<divclass="title">
location-history-visualizer
Location History Visualizer
<span>(hover for additional controls)</span>
</div>
<divclass="control-block">
@@ -75,15 +81,6 @@
<divclass="control-block actions">
<buttonid="reset">Reset to defaults</button>
</div>
<divclass="support">
<div>Find this useful? Buy me a cup of tea :)</div>
<inputtype="image"src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif"border="0"name="submit"alt="PayPal - The safer, easier way to pay online!">
status('Something went wrong generating your map. Ensure you\'re uploading a Google Takeout JSON file that contains location data and try again, or create an issue on GitHub if the problem persists. ( error: '+ex.message+' )');
return;
}
// First, change tabs
$('body').addClass('working');
$('#intro').addClass('hidden');
$('#working').removeClass('hidden');
varlatlngs=[];
varos=newoboe();
os.node('locations.*',function (location){
varSCALAR_E7=0.0000001;// Since Google Takeout stores latlngs as integers
if (type==='json')latlngs.push([location.latitudeE7*SCALAR_E7,location.longitudeE7*SCALAR_E7]);
@@ -73,16 +82,20 @@
stageThree(/* numberProcessed */latlngs.length);
});
varfileSize=prettySize(file.size);
status('Preparing to import file ( '+fileSize+' )...');