selectLegIndex
Manually set the selected leg index, on the set route. This may throw an exception if the resulting internal state is invalid (parsed index is out of bounds)
Parameters
legIndex
- Leg index
Throws
if the set leg index is out of bounds