traceRouteRaw

fun traceRouteRaw(requestJson: String): String

Run a trace_route request supplied as JSON and return the raw response.

This is the escape hatch for response formats MapMatchRouteResponse cannot model, and for request options the generated models do not yet carry.

Return

The raw response body, in whichever format the request asked for.

Parameters

requestJson

A trace_route request as JSON.

See also

Throws

if the Valhalla engine returns an error response.