public interface OffRouteCallback
Modifier and Type | Method and Description |
---|---|
void |
onShouldIncreaseIndex()
This callback will fire when the
OffRouteDetector determines that the user
location is close enough to the upcoming LegStep . |
void onShouldIncreaseIndex()
OffRouteDetector
determines that the user
location is close enough to the upcoming LegStep
.
In this case, the step index needs to be increased for the next RouteProgress
generation.
© 2019 Mapbox. All rights reserved.