SetShortest

Top  Previous  Next

This sets the calculation target to be distance. At the same time it can be specified if turn restrictions should be included.

 

If they are included, only restrictions (<0) are applied. Delays (>0) are ignored.

 

Default: SetShortest(false)

 

Syntax: SetShortest(turncosts: boolean)