Skip to content

Instantly share code, notes, and snippets.

@WassifAziz
Created August 14, 2012 09:46
Show Gist options
  • Save WassifAziz/3347894 to your computer and use it in GitHub Desktop.
Save WassifAziz/3347894 to your computer and use it in GitHub Desktop.
This is the data i want ot use
{
"device":118,
"events":[{
"exampleentry":7,
"exampleentry":118,
"exampleentry":13
"exampleentry":xxx,
"location":{
"latitude":51.558067321777344,
"longitude":-0.7270445227622986,
"exampleentry":"xxx 9x",
"exampleentry":"xxx Road",
"exampleentry":"xxx",
"exampleentry":"xxx"
},
============below is teh data i currently use==================
var locationdata = [
{ "latitude": 54.2461, "longitude": -0.7754 },
]
*************Below is some code which handles the import******
heatmapLayer = new HeatMapLayer(
map,
locationdata
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment