added location history heatmap code