MAUserLocation.h 854 B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // MAUserLocation.h
  3. // MAMapKit
  4. //
  5. // Created by AutoNavi.
  6. // Copyright (c) 2012年 Amap. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "MAAnnotation.h"
  10. @class CLLocation;
  11. @class CLHeading;
  12. ///定位信息类
  13. @interface MAUserLocation : NSObject<MAAnnotation>
  14. ///位置更新状态,如果正在更新位置信息,则该值为YES.
  15. @property (nonatomic, readonly, getter = isUpdating) BOOL updating;
  16. ///位置信息, 如果MAMapView的showsUserLocation为NO, 或者尚未定位成功, 则该值为nil.
  17. @property (nonatomic, readonly) CLLocation *location;
  18. ///heading信息.
  19. @property (nonatomic, readonly) CLHeading *heading;
  20. ///定位标注点要显示的标题信息.
  21. @property (nonatomic, copy) NSString *title;
  22. ///定位标注点要显示的子标题信息.
  23. @property (nonatomic, copy) NSString *subtitle;
  24. @end