Added marker clustering when zoomed out

This commit is contained in:
PxlLoewe
2025-04-25 12:02:59 -07:00
parent 2eb2f4bf2b
commit ef93275d9c
7 changed files with 300 additions and 32 deletions

View File

@@ -13,7 +13,7 @@ export interface Aircraft {
}[];
location: {
lat: number;
lon: number;
lng: number;
altitude: number;
speed: number;
};
@@ -43,7 +43,7 @@ export const useAircraftsStore = create<AircraftStore>((set) => ({
fmsLog: [],
location: {
lat: 52.546781040592776,
lon: 13.369535209542219,
lng: 13.369535209542219,
altitude: 0,
speed: 0,
},
@@ -58,7 +58,7 @@ export const useAircraftsStore = create<AircraftStore>((set) => ({
fmsLog: [],
location: {
lat: 52.54588546048977,
lon: 13.46470691054384,
lng: 13.46470691054384,
altitude: 0,
speed: 0,
},
@@ -73,7 +73,7 @@ export const useAircraftsStore = create<AircraftStore>((set) => ({
fmsLog: [],
location: {
lat: 52.497519717230155,
lon: 13.342040806552554,
lng: 13.342040806552554,
altitude: 0,
speed: 0,
},
@@ -88,7 +88,7 @@ export const useAircraftsStore = create<AircraftStore>((set) => ({
fmsLog: [],
location: {
lat: 52.50175041192073,
lon: 13.478628701227349,
lng: 13.478628701227349,
altitude: 0,
speed: 0,
},