height

fun height(request: HeightRequest): HeightResponse

Sample terrain heights under a shape, from the elevation tiles in the config's additionalData.elevation. Without them every height is null.

Throws

if the Valhalla engine returns an error response.

if the response JSON cannot be parsed.