This commit is contained in:
PxlLoewe
2025-07-25 20:56:21 -07:00
parent f534bbc902
commit f8e9ad84b9
5 changed files with 9 additions and 6 deletions

View File

@@ -122,7 +122,7 @@ const HeliportsLayer = () => {
};
const filterVisibleHeliports = () => {
const bounds = map.getBounds();
const bounds = map?.getBounds();
if (!heliports?.length) return;
// Filtere die Heliports, die innerhalb der Kartenansicht liegen
const visibleHeliports = heliports.filter((heliport) => {