Skip to content

Commit

Permalink
fetch data on jumping to an airport
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Feb 2, 2020
1 parent 9cd6eff commit 77fbe6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions html/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -2820,6 +2820,8 @@ function onJump(e) {
if (coords) {
OLMap.getView().setCenter(ol.proj.fromLonLat([coords[1], coords[0]]));
refreshTableInfo();
if (ZoomLvl >= 7)
fetchData();
}
return false;
}
Expand Down

0 comments on commit 77fbe6c

Please sign in to comment.