find Current Banner Text
fun findCurrentBannerText(currentStep: LegStep, stepDistanceRemaining: Double, findPrimary: Boolean): BannerText?
This method returns the current BannerText based on the currentStep distance remaining.
When called, this is the banner text that should be shown at the given point along the route.
Return
current BannerText based on currentStep distance remaining
Since
0.13.0
Parameters
current Step
holding the current banner instructions
step Distance Remaining
to determine progress along the currentStep
find Primary
if the primary or secondary BannerText should be retrieved