|
发表帖子
API/SDK版本号: |
iOS sdk 3.1.0 |
产品: |
搜索 |
手机型号: |
|
使用接口: |
|
本帖最后由 于 2015-12-9 23:09 编辑
AMapPOIAroundSearchRequest *request = [[AMapPOIAroundSearchRequest alloc] init];
request.location = [AMapGeoPoint locationWithLatitude:self.location.coordinate.latitude longitude:self.location.coordinate.longitude];
request.keywords = @"漕溪路田林东路";
request.types = @"交通设施服务|150700";
request.sortrule = 0;
request.requireExtension = NO;
request.radius =500;
//发起周边搜索
[self.searchAPI AMapPOIAroundSearch:request];
- (void)onPOISearchDoneAMapPOISearchBaseRequest *)request responseAMapPOISearchResponse *)response
{
for (AMapPOI *p in response.pois) {
NSLog(@"adress: : %@", p.address);
}
}
我用上面的方法查询周边公交车路线,为什么得到的p.address不完整,类似下面的结果,最后有省略号:
高德49路;87路;104路;111路;144路;770路;808路;824路...
用什么方法可以得到完整的公交车路线?
大神们,帮我们解答一下,谢谢
|
|