setScale

Set the scale to multiply route distances by for the following builder instructions. Note that this scale will unconditionally apply to all instructions following this call, until this builder ends or this method is called again. Ensure your distance units are consistent before multiplying.

Return

The builder

Parameters

scale

the multiplicative scale to use for further builder instructions, which will scale distance but not heading instructions as they are accurate