forked from organicmaps/organicmaps
[iOS] Fixed view port after recovering a trip on the carplay
This commit is contained in:
parent
9e98a19795
commit
a4190ccca5
1 changed files with 3 additions and 0 deletions
|
@ -401,9 +401,12 @@ extension CarPlayService: CPMapTemplateDelegate {
|
|||
guard let info = routeChoice.userInfo as? RouteInfo,
|
||||
let estimates = createEstimates(routeInfo: info) else {
|
||||
applyUndefinedEstimates(template: mapTemplate, trip: trip)
|
||||
router?.rebuildRoute()
|
||||
return
|
||||
}
|
||||
mapTemplate.updateEstimates(estimates, for: trip)
|
||||
routeChoice.userInfo = nil
|
||||
router?.rebuildRoute()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue