Update map marker mapping for locations query.
Switch MapMarkers handling from getMarkers to locations, and align mapper fields with the new Location payload while preserving MapItem coordinates and online status. Made-with: Cursor
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
query MapMarkers($isOnline: Boolean!) {
|
||||
getMarkers(filter: { isOnline: $isOnline }) {
|
||||
locations(filter: { isOnline: $isOnline }) {
|
||||
_id
|
||||
name
|
||||
city
|
||||
isOnline
|
||||
latitude
|
||||
longitude
|
||||
text
|
||||
metricList
|
||||
currentValue {
|
||||
PMS25
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user