I am using Skobbler Map for navigation,

I am save the rout to cache ,

[[SKRoutingService sharedInstance]saveRouteToCache:calculatedRouteInfo.routeID];

and get the rout from Cache,

[[SKRoutingService sharedInstance]loadRouteFromCache:calculatedRouteInfo.routeID];

Where calculatedRouteInfo.routeID is SKRouteID

It automatically calculate the rout but, After start the navigation it always start from From the first. Can I save the current position and start from the current position. I have given the navigation code ,

SKNavigationSettings *navSettings = [SKNavigationSettings navigationSettings];
navSettings.navigationType=SKNavigationTypeSimulation;
navSettings.distanceFormat=SKDistanceFormatMilesFeet;
self.mapView.settings.displayMode = SKMapDisplayMode3D;
[[SKRoutingService sharedInstance]startNavigationWithSettings:navSettings];

Related posts

Recent Viewed