This commit is contained in:
PxlLoewe
2025-05-20 14:15:26 -07:00
8 changed files with 12 additions and 10 deletions

View File

@@ -335,7 +335,7 @@ const AircraftMarker = ({
const handleZoom = () => {
const zoom = map.getZoom();
setHideMarker(zoom < 9);
setHideMarker(zoom < 8);
handleConflict();
};

View File

@@ -277,7 +277,7 @@ const MissionMarker = ({ mission }: { mission: Mission }) => {
const handleZoom = () => {
const zoom = map.getZoom();
setHideMarker(zoom < 9);
setHideMarker(zoom < 8);
handleConflict();
};

View File

@@ -251,7 +251,7 @@ export const MarkerCluster = () => {
};
});
if (zoom >= 9) {
if (zoom >= 8) {
setCluster([]);
} else {
setCluster(clusterWithAvgPos);