[ios] Fixed wrong ObjC function name that caused warnings

Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
Alexander Borsuk
2025-08-01 13:05:37 +02:00
committed by Yannik Bloscheck
parent 9d8e84ae5a
commit 3b1551be52
3 changed files with 5 additions and 4 deletions

View File

@@ -423,7 +423,7 @@ extension CarPlayService: CPMapTemplateDelegate {
func mapTemplate(_ mapTemplate: CPMapTemplate, didUpdatePanGestureWithTranslation translation: CGPoint, velocity: CGPoint) {
let scaleFactor = self.carplayVC?.mapView?.contentScaleFactor ?? 1
FrameworkHelper.scrollMap(-scaleFactor * translation.x, -scaleFactor * translation.y);
FrameworkHelper.scrollMap(toDistanceX:-scaleFactor * translation.x, andY:-scaleFactor * translation.y);
}
func mapTemplate(_ mapTemplate: CPMapTemplate, startedTrip trip: CPTrip, using routeChoice: CPRouteChoice) {