FindStep Performance

This commit is contained in:
Dimitris
2026-04-30 07:10:35 +02:00
parent 615141d816
commit 3926bbf1f9
15 changed files with 70 additions and 71 deletions
@@ -31,7 +31,7 @@ fun test(applicationContext: Context, routeModel: RouteModel) {
for ((index, step) in routeModel.curLeg.steps.withIndex()) {
for ((windex, waypoint) in step.maneuver.waypoints.withIndex()) {
routeModel.updateLocation(
location(waypoint[0], waypoint[1]), navigationViewModel
waypoint, navigationViewModel
)
val step = routeModel.currentStep()
val nextStep = routeModel.nextStep()