No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 13 commits ahead of alastaircoote:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Animated JavaScript Heatmap on OpenStreetMap

This code is a fork of NYTCommentsMap by Alastair Coote!

Used software

JavaScript libraries

Getting started

  • Open the mapdisplay.js and modify the parameters in the function ´MapDisplay´
  • Create the file data/sampleData.js and insert your data:
var sampleData = { ... , "data":
    {"date":1306188000, "points":
    {"date":1306191600, "points":

(The data array contains entries, which have a timestamp in seconds as date and an array named points. This neasted array contains all points for the spefic date and each entry has a location (latitude lat and longitude lon) and a value val.)