Diverse Änderungen
This commit is contained in:
@@ -350,8 +350,8 @@ class MainActivity : ComponentActivity() {
|
||||
var bearing: Double
|
||||
if (routeModel.isNavigating()) {
|
||||
snapedLocation = snapLocation(location, routeModel.route.maneuverLocations())
|
||||
routeModel.updateLocation(location)
|
||||
bearing = routeModel.currentStep().bearing
|
||||
routeModel.updateLocation(snapedLocation)
|
||||
instruction.postValue(routeModel.currentStep())
|
||||
} else {
|
||||
bearing = cameraPosition.value!!.bearing
|
||||
|
||||
Reference in New Issue
Block a user