diff --git a/app/components/catalog/CatalogMap.vue b/app/components/catalog/CatalogMap.vue index 10f2ff8..7356cf0 100644 --- a/app/components/catalog/CatalogMap.vue +++ b/app/components/catalog/CatalogMap.vue @@ -17,6 +17,7 @@ diff --git a/graphql/operations/public/geo/GetClusteredNodes.graphql b/graphql/operations/public/geo/GetClusteredNodes.graphql new file mode 100644 index 0000000..385b83f --- /dev/null +++ b/graphql/operations/public/geo/GetClusteredNodes.graphql @@ -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 + } +}