feat(map): add server-side h3 clustering and hover highlight
All checks were successful
Build Docker Image / build (push) Successful in 4m55s
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:
24
graphql/operations/public/geo/GetClusteredNodes.graphql
Normal file
24
graphql/operations/public/geo/GetClusteredNodes.graphql
Normal 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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user