feat(map): add server-side h3 clustering and hover highlight
All checks were successful
Build Docker Image / build (push) Successful in 4m55s

- Add useClusteredNodes composable for fetching clustered nodes
- Update CatalogMap to support server-side clustering mode
- Add bounds-change event for fetching clusters on map move/zoom
- Add hover event to HubCard for marker highlighting
- Update hubs/map page to use new clustering system
This commit is contained in:
Ruslan Bakiev
2026-01-14 10:34:44 +07:00
parent fbcfc6caf8
commit 844878ce85
6 changed files with 417 additions and 103 deletions

View File

@@ -0,0 +1,24 @@
query GetClusteredNodes(
$west: Float!
$south: Float!
$east: Float!
$north: Float!
$zoom: Int!
$transportType: String
) {
clusteredNodes(
west: $west
south: $south
east: $east
north: $north
zoom: $zoom
transportType: $transportType
) {
id
latitude
longitude
count
expansionZoom
name
}
}