diff --git a/templates/geo.html b/templates/geo.html index ebe161e..b211cdf 100644 --- a/templates/geo.html +++ b/templates/geo.html @@ -86,6 +86,7 @@ small {
Date:
+ @@ -210,7 +211,10 @@ small { const OSMURL='http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'; const OSMATTRIB='Map data © OpenStreetMap contributors'; var ZOOMLEVEL = 15; + var updateFrequency = 1000*60*60*1 //1h + var updateFrequency = 1000*20*1 //1h var allOpenStreetMap = {}; + var savedMarker = {}; var datePickerWidget; for(var i=1; i<7; i++) { @@ -242,10 +246,21 @@ small { function updateTopMaps(dayNum) { $.getJSON("{{ url_for('getTopCoord') }}?dayNum="+dayNum, function(list){ for(var i=0; i<6 && i