I am using skobbler in my iOS application to integrate the navigation functionality. Whereas while navigating I see in the demo of the sdk that one gets visual advice images for turns and other information. I want all these possible visual images. I need to know from where are these picked and how are these created? I could not find anything in skobbler how tos about this. Please provide some additional information regarding this.
问问题
210 次
1 回答
1
计算出路线后,您可以询问所有建议。对于每条建议,您都会有一个指向相应视觉图像的链接(带有visualAdviceFile
属性)
- (void)routingService:(SKRoutingService *)routingService didFinishRouteCalculationWithInfo:(SKRouteInformation*)routeInformation
{
NSLog(@"Route is calculated.");
NSArray* advices = [[SKRoutingService sharedInstance] routeAdviceListWithDistanceFormat:SKDistanceFormatMetric];
for (SKRouteAdvice *advice in advices)
{
NSLog(@"%@", advice.visualAdviceFile);
}
}
从文档http://developer.skobbler.com/getting-started/ios#sec15和http://developer.skobbler.com/docs/ios/2.3.0/Classes/SKRouteAdvice.html#//api/name /visualAdvice 文件
于 2015-01-04T08:08:39.900 回答