ios - 运用百度api周边检索,分别检索出公交、学校、购物、医院等周边配套信息,在数据回调的代理中如何来区分这些数据
ringa_lee
ringa_lee 2017-04-18 09:41:52
0
0
563
1、请求方法 [self creatPoiSearchWithKey:@"公交" andTag:0]; [self creatPoiSearchWithKey:@"学校" andTag:1]; [self creatPoiSearchWithKey:@"生活" andTag:2]; [self creatPoiSearchWithKey:@"购物" andTag:3];

2、数据回调方法

  • (BMKAnnotationView)mapView:(BMKMapView)mapView viewForAnnotation:(id )annotation;

发现执行的顺序是先将四个请求方法执行完毕后,再重复调用四次数据回调方法。在回调方法里应该有个判断来做数据分类处理,但是找不到根据什么来判断,求大神指导。

ringa_lee
ringa_lee

ringa_lee

reply all (0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!