maps.chandlerswift.com/layers/dot-cams/mn/query.graphql
Chandler Swift 7fbb7a426a
MNDOT cameras _do_ expose a source!
Co-Authored-By: Eric Villnow <villnoweric@gmail.com>
2024-01-29 20:09:09 -06:00

46 lines
772 B
GraphQL

query MapFeatures($input: MapFeaturesArgs!, $plowType: String) {
mapFeaturesQuery(input: $input) {
mapFeatures {
bbox
tooltip
uri
features {
id
geometry
properties
}
... on Event {
priority
}
__typename
... on Camera {
views(limit: 5) {
uri
... on CameraView {
url
sources {
type
src
}
title
}
category
}
}
... on Plow {
views(limit: 5, plowType: $plowType) {
uri
... on PlowCameraView {
url
}
category
}
}
}
error {
message
type
}
}
}