Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 4e8c0e5b

Přidáno uživatelem Martin Sebela před asi 4 roky(ů)

New box location and JavaScript changes

Zobrazit rozdíly:

website/public/js/zcu-heatmap.js
125 125
  currentTime = (currentTime + 23) % 24;
126 126
  drawHeatmap(data[currentTime]);
127 127
  setTimeline();
128
  mymap.closePopup();
129
  updateHeaderControls();
128 130
}
129 131

  
130 132
function next() {
131 133
  currentTime = (currentTime + 1) % 24;
132 134
  drawHeatmap(data[currentTime]);
133 135
  setTimeline();
136
  mymap.closePopup();
137
  updateHeaderControls();
138
}
139

  
140
function updateHeaderControls() {
141
  document.getElementById('time').value = currentTime;
134 142
}
135 143

  
136 144
function setTimeline() {

Také k dispozici: Unified diff