如何在我的gps应用程序中添加"Pulsating blue circle".目前我正在通过CCLocationManager获取当前位置.
我正在使用mapView.showsUserLocation = True,但这只在我当前位置显示一个引脚.
如何在默认地图应用中获得"蓝色圆圈".
更新:许多应用程序都这样做.例如 - Realtor.com
谢谢
实现委托方法:
- (MKAnnotationView *)mapView:(MKMapView *)mv viewForAnnotation: (id<MKAnnotation>)annotation
并返回零if (annotation == mv.userLocation).这告诉它MKMapView使用它认为合适的标准注释.
| 归档时间: |
|
| 查看次数: |
1640 次 |
| 最近记录: |