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
25 lines
353 B
GraphQL
25 lines
353 B
GraphQL
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
|
|
}
|
|
}
|