2014年12月26日

MKMapView和MKMapViewDelegate

摘要: @interfaceMKMapView:UIView@property(nonatomic,assign)iddelegate;//Changingthemaptypeorregioncancausethemaptostartloadingmapcontent.//Theloadingdelegat... 阅读全文

posted @ 2014-12-26 18:24 zhao_gw 阅读(488) 评论(0) 推荐(0) 编辑

根据经纬度翻译成详细位置的各种方法

摘要: 首先苹果获取经纬度是if([CLLocationManagerlocationServicesEnabled]){//判断手机是否可以定位locationManager=[[CLLocationManageralloc]init];//初始化位置管理器[locationManagersetDeleg... 阅读全文

posted @ 2014-12-26 11:13 zhao_gw 阅读(905) 评论(0) 推荐(0) 编辑

iOS 根据经纬度反查 地名

摘要: 在iOS中定位自己的当前位置,知道经纬度很简单,然后有些时候要知道地名,apple也有了现成的api直接调用就可以(以下方法是iOS5.0以上的,现在基本都忽略了 iOS5.0以下的设备)#pragma mark -#pragma mark CLLocationManagerDelegate - (... 阅读全文

posted @ 2014-12-26 11:10 zhao_gw 阅读(1009) 评论(0) 推荐(0) 编辑

MapKit学习笔记

摘要: MapKit学习笔记1、概述插入MapView,设置Delegate(一般为Controller),Annotations记录兴趣位置点(AnnotationView用来显示兴趣位置点),annotation是可选的,选中的annotation会显示callout,用来显示信息。2、设置地图显示类型... 阅读全文

posted @ 2014-12-26 09:43 zhao_gw 阅读(171) 评论(0) 推荐(0) 编辑

导航