Skip to main content

Input LegInput

No description

input LegInput {
start: CoordinatesInput!
startSnapPoint: CoordinatesInput
destination: CoordinatesInput!
destinationSnapPoint: CoordinatesInput
routingOptions: RoutingOptionsInput!
viapoints: [WaypointInput!]!
}

Fields​

LegInput.start ● CoordinatesInput! non-null input​

LegInput.startSnapPoint ● CoordinatesInput input​

Optional manual override for the snap point at the start of the route. When provided, HERE uses this coordinate as the point on the road network where the route begins, instead of automatically selecting the nearest road point.

LegInput.destination ● CoordinatesInput! non-null input​

LegInput.destinationSnapPoint ● CoordinatesInput input​

Optional manual override for the snap point at the destination of the route. When provided, HERE uses this coordinate as the point on the road network where the route ends.

LegInput.routingOptions ● RoutingOptionsInput! non-null input​

LegInput.viapoints ● [WaypointInput!]! non-null input​