fetch data on jumping to an airport

This commit is contained in:
Matthias Wirth
2020-02-02 08:27:24 +01:00
parent 9cd6effa98
commit 77fbe6cf46

View File

@@ -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;
}