diff --git a/src/static/js/geoint.js b/src/static/js/geoint.js index c424ef0..ccd32ca 100644 --- a/src/static/js/geoint.js +++ b/src/static/js/geoint.js @@ -193,7 +193,7 @@ const GEOINT = { // Bei Kartenbewegung neu laden this._moveHandler = function() { clearTimeout(self._moveDebounce); - self._moveDebounce = setTimeout(function() { self._fetchFlights(map); }, 600); + self._moveDebounce = setTimeout(function() { self._fetchFlights(map); }, 1200); }; map.on('moveend', this._moveHandler); }, @@ -205,7 +205,7 @@ const GEOINT = { }, _fetchFlights(map) { - if (this._flightFetching || !map || map.getZoom() < 5) return; + if (this._flightFetching || !map || map.getZoom() < 3) return; this._flightFetching = true; var center = map.getCenter(); var bounds = map.getBounds();