调用地图路径规划服务提示000002 调用服务发生异常
调用地图路径规划服务提示000002 调用服务发生异常(时好时坏)
代码如下:
MARouteSearchOption *searchOption=[[MARouteSearchOption alloc] init];
searchOption.routeType = @"0";
[searchOption setConfig:@"R"];
[searchOption setEncode:@"UTF-8"];
searchOption.x1 = [NSString stringWithFormat:@"%.7f",home.location.longitude];
searchOption.y1 = [NSString stringWithFormat:@"%.7f",home.location.latitude];
searchOption.x2 = [NSString stringWithFormat:@"%.7f",_coordinate.longitude];
searchOption.y2 = [NSString stringWithFormat:@"%.7f",_coordinate.latitude];
[searchOption setPer:@"50"];
MASearch *rSearch = [MASearch maSearchWithDelegate:self];
[rSearch routeSearchWithOption:searchOption];
[searchOption release]; ios开发 地图服务 000002调用地图服务发生异常 高德地图
[解决办法]
我的也是这样。。。。。而且用他们自己的demo都出现同样的错误。
[解决办法]