findCurrentBannerInstructions

fun findCurrentBannerInstructions(currentStep: LegStep, stepDistanceRemaining: Double): BannerInstructions?

Given the current step / current step distance remaining, this function will find the current instructions to be shown.

Return

the current banner instructions based on the current distance along the step

Since

0.13.0

Parameters

currentStep

holding the current banner instructions

stepDistanceRemaining

to determine progress along the currentStep