diff --git a/data/demo/demo-tracks_andy.js b/data/demo/demo-tracks_andy.js new file mode 100644 index 0000000..5301a7e --- /dev/null +++ b/data/demo/demo-tracks_andy.js @@ -0,0 +1,1472 @@ +var bici = { + "type": "Feature", + "geometry": { + "type": "MultiPoint", + "coordinates": [ + [13.330859,38.131283], +[13.330859,38.131283], +[13.330773,38.131379], +[13.330767,38.131378], +[13.330733,38.131382], +[13.330735,38.131383], +[13.330738,38.131388], +[13.33074,38.13139], +[13.330739,38.131393], +[13.330843,38.131394], +[13.330859,38.131406], +[13.330809,38.131445], +[13.33081,38.131445], +[13.330809,38.131444], +[13.330803,38.131446], +[13.330786,38.131375], +[13.330779,38.131346], +[13.330784,38.131282], +[13.330819,38.131258], +[13.330896,38.131208], +[13.330921,38.131168], +[13.330966,38.131085], +[13.330998,38.131049], +[13.331038,38.131019], +[13.331083,38.130986], +[13.331135,38.13095], +[13.331193,38.130914], +[13.331257,38.130892], +[13.331353,38.130897], +[13.331426,38.130883], +[13.331499,38.130865], +[13.33157,38.13085], +[13.331642,38.130834], +[13.331709,38.130817], +[13.331779,38.13081], +[13.331846,38.130805], +[13.331918,38.130792], +[13.331992,38.130781], +[13.332071,38.130771], +[13.332155,38.130764], +[13.332241,38.130754], +[13.332317,38.130723], +[13.332425,38.130737], +[13.332511,38.130729], +[13.332589,38.130711], +[13.332661,38.130689], +[13.332732,38.130675], +[13.332806,38.130664], +[13.332878,38.130639], +[13.332973,38.130632], +[13.333064,38.130639], +[13.333155,38.130631], +[13.333243,38.130635], +[13.333328,38.130643], +[13.333411,38.130636], +[13.333507,38.130639], +[13.333584,38.130638], +[13.333671,38.130657], +[13.333753,38.130676], +[13.333841,38.130704], +[13.333925,38.13072], +[13.334006,38.130742], +[13.334082,38.130756], +[13.334154,38.130767], +[13.334227,38.130782], +[13.334291,38.130803], +[13.334351,38.130831], +[13.334459,38.130804], +[13.334477,38.130768], +[13.334515,38.130684], +[13.334537,38.130641], +[13.334559,38.130588], +[13.334591,38.130542], +[13.334615,38.130494], +[13.334656,38.130441], +[13.334685,38.130398], +[13.334716,38.130325], +[13.334739,38.130248], +[13.33475,38.130189], +[13.334761,38.130142], +[13.334777,38.1301], +[13.334795,38.130016], +[13.334797,38.130013], +[13.334807,38.130014], +[13.334847,38.129931], +[13.334809,38.129849], +[13.33481,38.129827], +[13.334843,38.129763], +[13.334859,38.129756], +[13.334872,38.129761], +[13.334972,38.129747], +[13.334985,38.129725], +[13.334989,38.129663], +[13.334991,38.129618], +[13.334982,38.129533], +[13.334983,38.12948], +[13.334993,38.129426], +[13.335016,38.129379], +[13.335033,38.129327], +[13.335043,38.12927], +[13.335058,38.129217], +[13.335074,38.129149], +[13.335115,38.129102], +[13.335182,38.129058], +[13.335254,38.129013], +[13.335339,38.128976], +[13.335441,38.128922], +[13.335533,38.1289], +[13.335656,38.128891], +[13.335783,38.128885], +[13.335882,38.128874], +[13.335981,38.128868], +[13.336078,38.128865], +[13.336177,38.128864], +[13.336274,38.128865], +[13.336381,38.128869], +[13.336484,38.128876], +[13.336593,38.128893], +[13.33672,38.128929], +[13.336842,38.128967], +[13.336961,38.129003], +[13.337068,38.129034], +[13.337169,38.129053], +[13.33726,38.12907], +[13.337348,38.129111], +[13.337437,38.129114], +[13.337508,38.129119], +[13.337567,38.129118], +[13.337674,38.129123], +[13.337735,38.129112], +[13.337783,38.129076], +[13.337807,38.129027], +[13.337817,38.128939], +[13.337814,38.128871], +[13.337811,38.128802], +[13.337806,38.12874], +[13.337796,38.128678], +[13.337779,38.12862], +[13.337756,38.128569], +[13.337751,38.128515], +[13.337746,38.128458], +[13.33775,38.128406], +[13.337755,38.128348], +[13.337751,38.12829], +[13.337746,38.12824], +[13.337734,38.128187], +[13.337731,38.128133], +[13.337728,38.128078], +[13.337727,38.128031], +[13.337715,38.127979], +[13.337704,38.127928], +[13.337687,38.127883], +[13.337681,38.127833], +[13.337691,38.127778], +[13.337701,38.127724], +[13.337715,38.12767], +[13.337725,38.127623], +[13.337742,38.12758], +[13.337777,38.127498], +[13.337789,38.127451], +[13.337808,38.127403], +[13.337826,38.127359], +[13.33785,38.12731], +[13.337872,38.127264], +[13.337943,38.12721], +[13.337977,38.127203], +[13.338049,38.127193], +[13.338106,38.127226], +[13.338162,38.127248], +[13.338214,38.127265], +[13.338269,38.127284], +[13.338331,38.127311], +[13.338391,38.127323], +[13.338469,38.12733], +[13.33856,38.12734], +[13.338647,38.12735], +[13.338742,38.127351], +[13.338835,38.12736], +[13.338911,38.127371], +[13.338985,38.127385], +[13.339059,38.127403], +[13.339129,38.127415], +[13.339195,38.127443], +[13.33926,38.127469], +[13.339315,38.1275], +[13.339366,38.127525], +[13.339424,38.12756], +[13.339479,38.127593], +[13.339582,38.127614], +[13.339638,38.127605], +[13.339707,38.127625], +[13.339782,38.127669], +[13.339859,38.127714], +[13.339937,38.127747], +[13.340026,38.127788], +[13.340109,38.127827], +[13.340169,38.12781], +[13.34022,38.127785], +[13.340275,38.127753], +[13.340329,38.127745], +[13.340383,38.127761], +[13.340438,38.127783], +[13.34054,38.127796], +[13.340583,38.127797], +[13.340691,38.127782], +[13.340763,38.12779], +[13.340855,38.127821], +[13.340989,38.127907], +[13.341127,38.127985], +[13.341599,38.12811], +[13.341663,38.128124], +[13.341687,38.128037], +[13.341781,38.128002], +[13.341803,38.127995], +[13.341834,38.127941], +[13.341865,38.127897], +[13.341901,38.12784], +[13.341914,38.1278], +[13.341961,38.127738], +[13.342008,38.127719], +[13.342102,38.12768], +[13.34212,38.127662], +[13.342219,38.127619], +[13.342259,38.12761], +[13.342336,38.127601], +[13.34235,38.127602], +[13.342359,38.127606], +[13.342674,38.127514], +[13.342771,38.127474], +[13.34281,38.127454], +[13.342892,38.127413], +[13.342943,38.12739], +[13.342992,38.127365], +[13.343036,38.127329], +[13.343116,38.127276], +[13.343147,38.127268], +[13.343255,38.127269], +[13.343295,38.127261], +[13.343377,38.127254], +[13.34341,38.127249], +[13.343481,38.127229], +[13.343515,38.127208], +[13.343594,38.127191], +[13.343638,38.127176], +[13.343687,38.127155], +[13.343735,38.12711], +[13.343784,38.127051], +[13.343847,38.12701], +[13.343911,38.126974], +[13.34398,38.126948], +[13.344052,38.126923], +[13.344126,38.126893], +[13.344205,38.126859], +[13.344293,38.126823], +[13.34436,38.126763], +[13.344427,38.126714], +[13.344495,38.126669], +[13.344558,38.126623], +[13.344617,38.126563], +[13.344679,38.126504], +[13.34474,38.126451], +[13.344799,38.1264], +[13.344861,38.126345], +[13.344923,38.126293], +[13.344987,38.12624], +[13.345052,38.126188], +[13.345117,38.126141], +[13.345183,38.1261], +[13.345249,38.126059], +[13.345316,38.126011], +[13.345388,38.125969], +[13.345458,38.125922], +[13.345521,38.125882], +[13.345579,38.125839], +[13.345641,38.12579], +[13.345699,38.125744], +[13.345772,38.12569], +[13.345848,38.125638], +[13.34592,38.125585], +[13.345983,38.125534], +[13.346041,38.125495], +[13.346108,38.125465], +[13.346187,38.125438], +[13.346269,38.1254], +[13.346359,38.125374], +[13.346444,38.125337], +[13.346539,38.125287], +[13.346602,38.12523], +[13.346663,38.125177], +[13.34671,38.125129], +[13.346765,38.125081], +[13.346827,38.125033], +[13.346894,38.124987], +[13.346969,38.124937], +[13.347043,38.124895], +[13.3471,38.124858], +[13.34716,38.124826], +[13.347213,38.12478], +[13.347258,38.124718], +[13.347305,38.124653], +[13.347348,38.124606], +[13.347368,38.124562], +[13.347442,38.124507], +[13.347484,38.124486], +[13.347535,38.124465], +[13.347584,38.124431], +[13.347668,38.124389], +[13.347723,38.124374], +[13.347785,38.124368], +[13.347849,38.124359], +[13.347906,38.124328], +[13.347977,38.124295], +[13.34805,38.124261], +[13.348117,38.124239], +[13.348179,38.124193], +[13.348248,38.124141], +[13.34831,38.12409], +[13.348382,38.124045], +[13.348451,38.12401], +[13.348513,38.123963], +[13.348571,38.123927], +[13.348628,38.123899], +[13.348684,38.12386], +[13.348736,38.123822], +[13.34879,38.123782], +[13.348846,38.123745], +[13.348897,38.123713], +[13.348939,38.123655], +[13.34902,38.123593], +[13.349071,38.12356], +[13.349158,38.123521], +[13.349199,38.123518], +[13.349299,38.123524], +[13.349327,38.123532], +[13.349429,38.123506], +[13.349455,38.123496], +[13.349553,38.123451], +[13.349598,38.123426], +[13.349655,38.123367], +[13.349708,38.123321], +[13.349773,38.123273], +[13.34985,38.123238], +[13.349932,38.123229], +[13.350015,38.123208], +[13.350092,38.123204], +[13.35013,38.123181], +[13.350205,38.123126], +[13.350263,38.123093], +[13.350344,38.123038], +[13.350379,38.123015], +[13.350456,38.123029], +[13.350517,38.123036], +[13.350597,38.123043], +[13.350661,38.123047], +[13.350722,38.123024], +[13.350773,38.122994], +[13.350827,38.122959], +[13.350877,38.122888], +[13.350918,38.122809], +[13.350965,38.122756], +[13.351012,38.122708], +[13.351061,38.122656], +[13.351095,38.122602], +[13.351092,38.122528], +[13.351062,38.122441], +[13.351017,38.12235], +[13.350961,38.122285], +[13.350909,38.122242], +[13.350853,38.122204], +[13.350784,38.122179], +[13.350711,38.122158], +[13.350646,38.122159], +[13.350553,38.122108], +[13.350519,38.12205], +[13.350492,38.122007], +[13.350474,38.121933], +[13.350462,38.121865], +[13.350433,38.121812], +[13.350421,38.121765], +[13.350404,38.121719], +[13.350401,38.121673], +[13.3504,38.121624], +[13.35041,38.121538], +[13.350449,38.121498], +[13.350479,38.12145], +[13.350499,38.121403], +[13.350511,38.121355], +[13.350525,38.121311], +[13.350513,38.121224], +[13.350511,38.121178], +[13.350518,38.121131], +[13.350512,38.121084], +[13.350499,38.121039], +[13.350486,38.120992], +[13.350478,38.120907], +[13.350476,38.120866], +[13.350484,38.120821], +[13.350499,38.120777], +[13.350499,38.120688], +[13.350502,38.120651], +[13.350517,38.120609], +[13.350539,38.120559], +[13.350552,38.120502], +[13.350558,38.120447], +[13.350559,38.120395], +[13.350557,38.120342], +[13.350545,38.120282], +[13.350537,38.120227], +[13.350549,38.120169], +[13.350555,38.120108], +[13.350558,38.120048], +[13.35056,38.119989], +[13.350566,38.119924], +[13.350587,38.11986], +[13.350613,38.119794], +[13.350634,38.119734], +[13.350648,38.119676], +[13.350662,38.119566], +[13.35067,38.119513], +[13.350672,38.119464], +[13.350681,38.119416], +[13.350688,38.119367], +[13.350692,38.119318], +[13.350698,38.119271], +[13.350704,38.119219], +[13.35071,38.119166], +[13.350712,38.11911], +[13.350722,38.119072], +[13.350786,38.119014], +[13.350842,38.118998], +[13.35095,38.119011], +[13.351081,38.11909], +[13.351126,38.11914], +[13.351138,38.119173], +[13.35114,38.119259], +[13.351131,38.119319], +[13.351125,38.11937], +[13.351128,38.119452], +[13.351164,38.119526], +[13.351219,38.119537], +[13.351296,38.119541], +[13.351366,38.119547], +[13.351437,38.119564], +[13.351501,38.119568], +[13.351563,38.119564], +[13.351621,38.119548], +[13.351696,38.119537], +[13.351768,38.119526], +[13.351841,38.119513], +[13.35191,38.119501], +[13.351977,38.119496], +[13.352044,38.119496], +[13.352107,38.1195], +[13.352166,38.119508], +[13.352279,38.119512], +[13.352333,38.119516], +[13.352441,38.119507], +[13.352475,38.1195], +[13.352565,38.119504], +[13.352611,38.119505], +[13.352669,38.119503], +[13.35274,38.119495], +[13.352811,38.119485], +[13.352885,38.119478], +[13.352971,38.119494], +[13.353058,38.119512], +[13.353136,38.119518], +[13.353225,38.119542], +[13.353314,38.119569], +[13.353393,38.1196], +[13.353463,38.119597], +[13.353526,38.119578], +[13.353592,38.11956], +[13.353661,38.119554], +[13.353752,38.119519], +[13.353778,38.119503], +[13.353869,38.119555], +[13.353876,38.119562], +[13.353968,38.119567], +[13.35401,38.119573], +[13.354111,38.119578], +[13.354185,38.119592], +[13.354255,38.119612], +[13.354299,38.119616], +[13.354379,38.119628], +[13.35443,38.119631], +[13.354489,38.119644], +[13.354551,38.119659], +[13.354616,38.119661], +[13.354666,38.119676], +[13.354723,38.119684], +[13.35478,38.119695], +[13.354836,38.119708], +[13.354897,38.119733], +[13.354972,38.119763], +[13.355053,38.119783], +[13.355126,38.11981], +[13.3552,38.119837], +[13.355271,38.11985], +[13.35535,38.119868], +[13.355428,38.119889], +[13.355509,38.119911], +[13.35559,38.119953], +[13.355676,38.11999], +[13.355757,38.12002], +[13.355829,38.120055], +[13.35591,38.120102], +[13.355989,38.120156], +[13.356073,38.120205], +[13.356149,38.120259], +[13.35623,38.120314], +[13.356308,38.120354], +[13.356397,38.120395], +[13.356473,38.120435], +[13.356548,38.120486], +[13.356635,38.120516], +[13.356713,38.120542], +[13.356779,38.120567], +[13.356838,38.12059], +[13.356904,38.120618], +[13.356968,38.120653], +[13.357027,38.120679], +[13.357095,38.120712], +[13.357139,38.120731], +[13.357208,38.120779], +[13.357244,38.120804], +[13.357346,38.120797], +[13.357401,38.120804], +[13.357455,38.120817], +[13.357525,38.120838], +[13.357604,38.120875], +[13.357672,38.120886], +[13.357737,38.120869], +[13.3578,38.120829], +[13.357857,38.120792], +[13.35792,38.120757], +[13.357971,38.120715], +[13.358014,38.120663], +[13.35805,38.120618], +[13.358095,38.12057], +[13.358123,38.120525], +[13.358147,38.120473], +[13.358167,38.120425], +[13.358188,38.120379], +[13.35821,38.120333], +[13.358237,38.120288], +[13.358262,38.120243], +[13.358297,38.120199], +[13.358351,38.120165], +[13.358406,38.120133], +[13.35847,38.120105], +[13.358524,38.120072], +[13.358568,38.120037], +[13.358595,38.119987], +[13.358623,38.119934], +[13.358666,38.119872], +[13.358712,38.119823], +[13.358773,38.119768], +[13.358846,38.119711], +[13.35889,38.119663], +[13.358931,38.119618], +[13.358955,38.119557], +[13.358983,38.119502], +[13.359012,38.119446], +[13.359046,38.119391], +[13.359084,38.119335], +[13.359127,38.119279], +[13.359166,38.119217], +[13.359195,38.119155], +[13.35923,38.119094], +[13.359271,38.119036], +[13.359321,38.118981], +[13.359366,38.118924], +[13.359406,38.118869], +[13.359442,38.118811], +[13.359474,38.118752], +[13.359512,38.118697], +[13.359555,38.118642], +[13.3596,38.118587], +[13.35963,38.118531], +[13.359656,38.118475], +[13.359681,38.118415], +[13.359707,38.118352], +[13.35973,38.118291], +[13.359765,38.118238], +[13.359809,38.118189], +[13.359856,38.11815], +[13.359898,38.118114], +[13.359946,38.11808], +[13.35998,38.11805], +[13.360054,38.11799], +[13.360082,38.117954], +[13.36009,38.117904], +[13.360126,38.117853], +[13.360152,38.117808], +[13.36017,38.117766], +[13.360181,38.117722], +[13.360212,38.11768], +[13.360248,38.11764], +[13.36029,38.117592], +[13.360312,38.117535], +[13.360341,38.117479], +[13.360369,38.117423], +[13.360391,38.117358], +[13.360428,38.117303], +[13.360471,38.117253], +[13.360509,38.117207], +[13.360542,38.117157], +[13.360574,38.117106], +[13.360606,38.117055], +[13.360641,38.117008], +[13.360684,38.116961], +[13.360732,38.116914], +[13.360776,38.116869], +[13.360815,38.116824], +[13.360849,38.116778], +[13.360876,38.116729], +[13.360907,38.116674], +[13.360939,38.116619], +[13.360961,38.11656], +[13.360991,38.11651], +[13.361026,38.116465], +[13.36105,38.116419], +[13.361081,38.116375], +[13.361117,38.116328], +[13.361147,38.116286], +[13.361167,38.116242], +[13.361188,38.116191], +[13.361212,38.116104], +[13.361241,38.116058], +[13.361279,38.116016], +[13.361317,38.115975], +[13.361343,38.115935], +[13.361373,38.115891], +[13.361402,38.115817], +[13.361415,38.115802], +[13.361415,38.115802], +[13.361564,38.11567], +[13.361611,38.115606], +[13.361611,38.115586], +[13.361621,38.115554], +[13.361628,38.115494], +[13.361655,38.115417], +[13.361676,38.115377], +[13.361713,38.115341], +[13.361741,38.115302], +[13.361782,38.115269], +[13.361839,38.115237], +[13.361877,38.115182], +[13.361913,38.115127], +[13.361954,38.115073], +[13.361988,38.115026], +[13.362013,38.114982], +[13.362036,38.114935], +[13.362064,38.114884], +[13.362072,38.114825], +[13.3621,38.114757], +[13.362133,38.1147], +[13.362176,38.114648], +[13.362246,38.114565], +[13.362283,38.11452], +[13.362309,38.114482], +[13.362351,38.114398], +[13.362373,38.114358], +[13.362395,38.114284], +[13.36241,38.114249], +[13.362437,38.114165], +[13.362443,38.114116], +[13.362457,38.11407], +[13.362487,38.114032], +[13.36252,38.113985], +[13.362552,38.113938], +[13.362585,38.113896], +[13.362612,38.113852], +[13.362641,38.113811], +[13.36266,38.113767], +[13.362676,38.113728], +[13.362692,38.113679], +[13.362728,38.113641], +[13.362761,38.113602], +[13.362785,38.113558], +[13.362814,38.113508], +[13.362847,38.11346], +[13.362881,38.11341], +[13.36291,38.11336], +[13.362918,38.113299], +[13.362938,38.113247], +[13.362966,38.113196], +[13.362985,38.113142], +[13.363008,38.113086], +[13.363041,38.113036], +[13.363078,38.112996], +[13.363122,38.112953], +[13.363166,38.112908], +[13.363206,38.11286], +[13.363235,38.11281], +[13.363264,38.112763], +[13.363287,38.112718], +[13.363317,38.112669], +[13.363347,38.112622], +[13.363368,38.11257], +[13.363397,38.112524], +[13.363445,38.112481], +[13.363488,38.112439], +[13.363536,38.112399], +[13.363584,38.112362], +[13.363629,38.112327], +[13.363675,38.112294], +[13.363738,38.112226], +[13.363765,38.112191], +[13.363797,38.112155], +[13.363827,38.112112], +[13.363841,38.112065], +[13.36387,38.112016], +[13.363902,38.111974], +[13.363927,38.111931], +[13.363943,38.111881], +[13.363959,38.111836], +[13.363979,38.111794], +[13.364007,38.111752], +[13.364037,38.111712], +[13.36407,38.111671], +[13.3641,38.111634], +[13.364121,38.11159], +[13.364132,38.111545], +[13.364144,38.111501], +[13.364168,38.111462], +[13.364203,38.111421], +[13.364242,38.111377], +[13.364279,38.111333], +[13.36431,38.111287], +[13.364335,38.111241], +[13.364372,38.111197], +[13.364412,38.111151], +[13.364441,38.111101], +[13.36447,38.11105], +[13.3645,38.111009], +[13.364519,38.110964], +[13.36454,38.110919], +[13.364567,38.110874], +[13.364602,38.110836], +[13.364633,38.110795], +[13.364683,38.110724], +[13.364701,38.110685], +[13.364733,38.110601], +[13.364761,38.110565], +[13.364785,38.110519], +[13.364807,38.110476], +[13.364834,38.11043], +[13.364867,38.110389], +[13.364901,38.110345], +[13.364939,38.1103], +[13.36497,38.110252], +[13.364995,38.110201], +[13.365028,38.110156], +[13.365074,38.110112], +[13.36511,38.11007], +[13.365137,38.110028], +[13.36515,38.109984], +[13.365201,38.109946], +[13.365307,38.109939], +[13.365371,38.109957], +[13.365421,38.109976], +[13.365474,38.109996], +[13.365525,38.110025], +[13.365585,38.110051], +[13.365647,38.110081], +[13.365709,38.110096], +[13.36581,38.110101], +[13.365858,38.110129], +[13.365962,38.110161], +[13.366026,38.110182], +[13.36608,38.110202], +[13.366135,38.11022], +[13.366239,38.110235], +[13.366296,38.110233], +[13.366395,38.110202], +[13.366448,38.110195], +[13.366504,38.110189], +[13.366562,38.110203], +[13.366617,38.110225], +[13.366662,38.110246], +[13.366707,38.110301], +[13.366702,38.110333], +[13.366689,38.110379], +[13.366689,38.110432], +[13.366693,38.110438], +[13.366693,38.110433], +[13.366693,38.110432] + + ] + }, + "properties": { + "time": [ +1392155552, +1392155564, +1392155580, +1392155592, +1392155610, +1392155624, +1392155637, +1392155656, +1392155672, +1392155686, +1392155701, +1392155717, +1392155731, +1392155745, +1392155758, +1392155774, +1392155792, +1392155806, +1392155823, +1392155838, +1392155853, +1392155869, +1392155883, +1392155898, +1392155912, +1392155928, +1392155944, +1392155959, +1392155973, +1392155987, +1392156002, +1392156017, +1392156035, +1392156047, +1392156062, +1392156078, +1392156095, +1392156108, +1392156127, +1392156140, +1392156157, +1392156172, +1392156192, +1392156201, +1392156218, +1392156233, +1392156248, +1392156262, +1392156280, +1392156295, +1392156309, +1392156325, +1392156340, +1392156352, +1392156375, +1392156387, +1392156399, +1392156415, +1392156433, +1392156446, +1392156462, +1392156476, +1392156493, +1392156506, +1392156521, +1392156542, +1392156554, +1392156568, +1392156583, +1392156597, +1392156613, +1392156629, +1392156645, +1392156661, +1392156674, +1392156692, +1392156710, +1392156716, +1392156739, +1392156755, +1392156768, +1392156781, +1392156795, +1392156811, +1392156825, +1392156837, +1392156857, +1392156871, +1392156885, +1392156900, +1392156916, +1392156936, +1392156946, +1392156966, +1392156979, +1392156992, +1392157008, +1392157023, +1392157038, +1392157054, +1392157069, +1392157094, +1392157095, +1392157121, +1392157134, +1392157148, +1392157164, +1392157178, +1392157193, +1392157204, +1392157219, +1392157239, +1392157253, +1392157267, +1392157282, +1392157298, +1392157312, +1392157325, +1392157344, +1392157358, +1392157371, +1392157386, +1392157401, +1392157416, +1392157431, +1392157446, +1392157461, +1392157462, +1392157481, +1392157499, +1392157511, +1392157533, +1392157543, +1392157557, +1392157575, +1392157586, +1392157607, +1392157621, +1392157632, +1392157658, +1392157670, +1392157686, +1392157697, +1392157711, +1392157728, +1392157739, +1392157754, +1392157772, +1392157787, +1392157800, +1392157817, +1392157832, +1392157848, +1392157866, +1392157884, +1392157895, +1392157911, +1392157927, +1392157940, +1392157956, +1392157967, +1392157988, +1392158001, +1392158017, +1392158033, +1392158047, +1392158059, +1392158075, +1392158093, +1392158108, +1392158123, +1392158135, +1392158155, +1392158165, +1392158183, +1392158195, +1392158214, +1392158229, +1392158240, +1392158258, +1392158275, +1392158289, +1392158300, +1392158323, +1392158338, +1392158350, +1392158369, +1392158381, +1392158396, +1392158411, +1392158425, +1392158442, +1392158453, +1392158470, +1392158483, +1392158501, +1392158516, +1392158528, +1392158545, +1392158546, +1392158568, +1392158586, +1392158599, +1392158617, +1392158633, +1392158647, +1392158661, +1392158675, +1392158694, +1392158709, +1392158720, +1392158748, +1392158749, +1392158772, +1392158784, +1392158804, +1392158820, +1392158831 + ] + } +}; + +var carsharing = { + "type": "Feature", + "geometry": { + "type": "MultiPoint", + "coordinates": [ +[13.330774605274,38.131465497427], +[13.330666311085,38.131413361989], +[13.330706963316,38.131458666176], +[13.330766055733,38.131404351443], +[13.330775359646,38.131449571811], +[13.330774437636,38.131419648416], +[13.330638064072,38.131425809115], +[13.330730767921,38.131453343667], +[13.330757506192,38.131404141896], +[13.330662203953,38.131508370861], +[13.330760775134,38.132087308913], +[13.330740658566,38.132140953094], +[13.330866470933,38.132254360244], +[13.330857083201,38.132231603377], +[13.330907206982,38.132230178453], +[13.330854233354,38.132213666104], +[13.330773850903,38.132249414921], +[13.330771001056,38.132194681093], +[13.33080444485,38.132060696371], +[13.330760858953,38.131475052796], +[13.330807546154,38.131467634812], +[13.330722218379,38.131506945938], +[13.330680979416,38.131494121626], +[13.330745771527,38.131465078332], +[13.330734539777,38.13149114605], +[13.330657761544,38.131419480778], +[13.330743089318,38.13151545357], +[13.330757590011,38.131474591792], +[13.330689864233,38.131481800228], +[13.330704029649,38.131475262344], +[13.330720290542,38.131514405832], +[13.330549215898,38.131476142444], +[13.330672681332,38.131492738612], +[13.33075767383,38.131436454132], +[13.330676537007,38.131393413059], +[13.330676956102,38.131439136341], +[13.330574026331,38.131391401403], +[13.33055164665,38.131378325634], +[13.330702353269,38.131413487718], +[13.330644099042,38.131104195491], +[13.331791497767,38.131038942374], +[13.332882570103,38.130844775587], +[13.334188722074,38.130999673158], +[13.334229458123,38.130858521909], +[13.334265919402,38.130952608772], +[13.334515951574,38.130903490819], +[13.334452584386,38.131019161083], +[13.334485609084,38.1309562549], +[13.334742933512,38.130832957104], +[13.334883749485,38.130319397896], +[13.334884671494,38.130521737039], +[13.334835469723,38.130418010987], +[13.334995312616,38.129978254437], +[13.335073264316,38.130044974387], +[13.336772024632,38.130323882215], +[13.33757895045,38.130580200814], +[13.337628655136,38.130491897464], +[13.338260818273,38.130658026785], +[13.339121723548,38.130952944048], +[13.339769393206,38.131104153581], +[13.340450925752,38.131315209903], +[13.341410905123,38.131578401662], +[13.342276588082,38.131695119664], +[13.34267062135,38.130910699256], +[13.342948229983,38.13091723714], +[13.343926230446,38.129722187296], +[13.344380864874,38.128848960623], +[13.344923844561,38.127621640451], +[13.345958758146,38.127726162784], +[13.34631155245,38.127650138922], +[13.346788398922,38.126566358842], +[13.347297934815,38.126066587865], +[13.34769573994,38.12536850106], +[13.347946861759,38.124678838067], +[13.348180130124,38.124342975207], +[13.34933783859,38.123835660517], +[13.349276147783,38.123622047715], +[13.349385699257,38.123608175665], +[13.350539300591,38.124012183398], +[13.35237711668,38.1240491895], +[13.353565754369,38.124353452586], +[13.354248376563,38.124273740686], +[13.35484332405,38.123773802072], +[13.355219755322,38.123983601108], +[13.355901036412,38.124441881664], +[13.356497995555,38.124558976851], +[13.357528047636,38.125207526609], +[13.358072033152,38.12511310447], +[13.35809986107,38.125147093087], +[13.358467575163,38.125165491365], +[13.359032515436,38.124519833364], +[13.359518749639,38.123771161772], +[13.359748246148,38.12358093448], +[13.360690874979,38.122409479693], +[13.361084740609,38.121574600227], +[13.360792379826,38.122209319845], +[13.360952557996,38.121817675419], +[13.361295210198,38.121205754578], +[13.361542811617,38.120232070796], +[13.36180315353,38.119918880984], +[13.362384187058,38.119224607945], +[13.362738741562,38.11812041793], +[13.362746620551,38.118085758761], +[13.363746665418,38.116366881877], +[13.36411789991,38.115368052386], +[13.364679487422,38.114239093848], +[13.365468056872,38.112873807549], +[13.366115223616,38.111504246481], +[13.366289064288,38.110591792502], +[13.366546388716,38.110197423957], +[13.366985935718,38.110706876032], +[13.367196572945,38.110764417797], +[13.367251809686,38.110727285966], +[13.367194980383,38.11079534702], +[13.367250552401,38.110760855489], +[13.366955006495,38.110680892132], +[13.366881581023,38.110668277368], +[13.366793319583,38.110594935715], +[13.366881748661,38.110506464727], +[13.366798432544,38.110614172183], +[13.366722660139,38.11039284803], +[13.366722660139,38.11039284803], +[13.366722660139,38.11039284803], +[13.366722660139,38.11039284803], +[13.366722660139,38.11039284803], +[13.366722660139,38.11039284803], +[13.366722660139,38.11039284803], +[13.366722660139,38.11039284803], +[13.366686115041,38.110327259637], +[13.366633225232,38.110300395638], +[13.36673037149,38.110379520804], +[13.366660801694,38.11046463903], +[13.366706315428,38.110374114476], +[13.366708159447,38.11043869704], +[13.366730790585,38.110413467511], +[13.366710254923,38.110398715362], +[13.366718804464,38.110510446131], +[13.366799019277,38.11063173227], +[13.366782087833,38.110630600713], +[13.367079310119,38.110895385034], +[13.366394927725,38.110841573216], +[13.36681351997,38.110761484131], +[13.366751242429,38.110634833574], +[13.366757361218,38.110574861057], +[13.366712266579,38.110648998991], +[13.366744620726,38.110601180233], +[13.366696005687,38.110552816652], +[13.36668536067,38.110562204383], +[13.366738082841,38.11047415249], +[13.366696927697,38.11045516748], +[13.366725593805,38.11047159601], +[13.366725593805,38.11047159601], +[13.366739172489,38.110567317344], +[13.36666289717,38.110558516346], +[13.366635236889,38.110472182743], +[13.366750907153,38.110451227985], +[13.366620987654,38.110427926294], +[13.366718888283,38.110461621545], +[13.366673542187,38.110432745889], +[13.36669139564,38.110548248514], +[13.366676308215,38.110550595447], +[13.366594249383,38.110680137761], +[13.366759289056,38.110668738373], +[13.366749146953,38.110702433623], +[13.366838330403,38.110605119728], +[13.366925418377,38.110860558227], +[13.3670809865,38.110804231837], +[13.366751912981,38.110602856614], +[13.366808909923,38.110641874373], +[13.366810753942,38.110668906011], +[13.366968082264,38.110573184676], +[13.367037484422,38.110503279604], +[13.366704974324,38.11059967149], +[13.366795834154,38.110510404222], +[13.366911588237,38.110591666773], +[13.366788877174,38.110555079766], +[13.366939667612,38.110558348708], +[13.366835648194,38.110598288477], +[13.366815028712,38.110710773617], +[13.366588633508,38.110963823274], +[13.366865320131,38.110837675631], +[13.36691041477,38.110620207153], +[13.367084339261,38.110583955422], +[13.36709045805,38.110885284841], +[13.367012757808,38.110938509926], +[13.367022313178,38.110856660642], +[13.367014518008,38.110887715593], +[13.366888202727,38.110618446954], +[13.36682735011,38.1105252821], +[13.366879737005,38.110512667336], +[13.366707572713,38.110499926843], +[13.366785943508,38.110545775853], +[13.366691479459,38.110484797508], +[13.366689383984,38.110515936278], +[13.366692736745,38.110579471104], +[13.366703297943,38.11051660683], +[13.366743531078,38.110521049239], +[13.366653677076,38.110473607667], +[13.366597602144,38.110400517471], +[13.366603720933,38.110401649028], +[13.366775130853,38.110361876897], +[13.366772867739,38.110537016764], +[13.366730622947,38.110528802499], +[13.366850148886,38.110534586012], +[13.367055254057,38.1104992982], +[13.366909660399,38.11043693684], +[13.366813855246,38.110499843024], +[13.366789128631,38.110503111966], +[13.36681435816,38.110548541881], +[13.366853669286,38.110692165792], +[13.366874791682,38.110617105849], +[13.366584274918,38.110318123363], +[13.366584274918,38.110318123363], +[13.366501545534,38.110280446708], +[13.366542784497,38.110323403962], +[13.366551669315,38.110402235761], +[13.366646636277,38.110304209404], +[13.366573210806,38.110325667076] + ] + }, + "properties": { + "time": [ +1392155542, +1392155554, +1392155570, +1392155582, +1392155600, +1392155614, +1392155627, +1392155646, +1392155662, +1392155676, +1392155691, +1392155707, +1392155721, +1392155735, +1392155748, +1392155764, +1392155782, +1392155796, +1392155813, +1392155828, +1392155843, +1392155859, +1392155873, +1392155888, +1392155902, +1392155918, +1392155934, +1392155949, +1392155963, +1392155977, +1392155992, +1392156007, +1392156025, +1392156037, +1392156052, +1392156068, +1392156085, +1392156098, +1392156117, +1392156130, +1392156147, +1392156162, +1392156182, +1392156191, +1392156208, +1392156223, +1392156238, +1392156252, +1392156270, +1392156285, +1392156299, +1392156315, +1392156330, +1392156342, +1392156365, +1392156377, +1392156389, +1392156405, +1392156423, +1392156436, +1392156452, +1392156466, +1392156483, +1392156496, +1392156511, +1392156532, +1392156544, +1392156558, +1392156573, +1392156587, +1392156603, +1392156619, +1392156635, +1392156651, +1392156664, +1392156682, +1392156700, +1392156706, +1392156729, +1392156745, +1392156758, +1392156771, +1392156785, +1392156801, +1392156815, +1392156827, +1392156847, +1392156861, +1392156875, +1392156890, +1392156906, +1392156926, +1392156936, +1392156956, +1392156969, +1392156982, +1392156998, +1392157013, +1392157028, +1392157044, +1392157059, +1392157084, +1392157085, +1392157111, +1392157124, +1392157138, +1392157154, +1392157168, +1392157183, +1392157194, +1392157209, +1392157229, +1392157243, +1392157257, +1392157272, +1392157288, +1392157302, +1392157315, +1392157334, +1392157348, +1392157361, +1392157376, +1392157391, +1392157406, +1392157421, +1392157436, +1392157451, +1392157452, +1392157471, +1392157489, +1392157501, +1392157523, +1392157533, +1392157547, +1392157565, +1392157576, +1392157597, +1392157611, +1392157622, +1392157648, +1392157660, +1392157676, +1392157687, +1392157701, +1392157718, +1392157729, +1392157744, +1392157762, +1392157777, +1392157790, +1392157807, +1392157822, +1392157838, +1392157856, +1392157874, +1392157885, +1392157901, +1392157917, +1392157930, +1392157946, +1392157957, +1392157978, +1392157991, +1392158007, +1392158023, +1392158037, +1392158049, +1392158065, +1392158083, +1392158098, +1392158113, +1392158125, +1392158145, +1392158155, +1392158173, +1392158185, +1392158204, +1392158219, +1392158230, +1392158248, +1392158265, +1392158279, +1392158290, +1392158313, +1392158328, +1392158340, +1392158359, +1392158371, +1392158386, +1392158401, +1392158415, +1392158432, +1392158443, +1392158460, +1392158473, +1392158491, +1392158506, +1392158518, +1392158535, +1392158536, +1392158558, +1392158576, +1392158589, +1392158607, +1392158623, +1392158637, +1392158651, +1392158665, +1392158684, +1392158699, +1392158710, +1392158738, +1392158739, +1392158762, +1392158774, +1392158794, +1392158810, +1392158821 + ] + } +}; + + +var demoTracks = [bici, carsharing]; diff --git a/demo/simple/simple_andy.html b/demo/simple/simple_andy.html new file mode 100644 index 0000000..e6738aa --- /dev/null +++ b/demo/simple/simple_andy.html @@ -0,0 +1,26 @@ + + + + + Leaflet Playback + + + + + + + + + + + + + +
+ + + + + + + diff --git a/demo/simple/simple_andy.js b/demo/simple/simple_andy.js new file mode 100644 index 0000000..eef3b15 --- /dev/null +++ b/demo/simple/simple_andy.js @@ -0,0 +1,23 @@ +$(function() { + + //creates a new map + var map = new L.Map('map'); + + var basemapURL = 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'; + var basemapLayer = new L.TileLayer(basemapURL, { + attribution: '© OpenStreetMap', + maxZoom : 19 + }); + + // centers map and default zoom level + map.setView([38.131283,13.330859], 13); + + // adds the background layer to the map + map.addLayer(basemapLayer); + + // I made playback global so you can call methods on it + // from the console. You can leave out the second argument + // if you do not want to preload tracks. + playback = new L.Playback(map, demoTracks); + +});