Skip to content

five-on-it / packages/world/src/road-route / routeLength

Function: routeLength() ​

routeLength(points): number

Defined in: packages/world/src/road-route.ts:182

The length of a route (m): the sum of its legs.

Parameters ​

points ​

readonly GroundPoint[]

Returns ​

number