MAUserLocation.h 715 B

12345678910111213141516171819202122232425262728
  1. //
  2. // MAUserLocation.h
  3. // MAMapKit
  4. //
  5. // Created by yin cai on 12-1-4.
  6. // Copyright © 2016 Amap. All rights reserved.
  7. //
  8. #import "MAConfig.h"
  9. #import <Foundation/Foundation.h>
  10. #import "MAAnimatedAnnotation.h"
  11. @class CLLocation;
  12. @class CLHeading;
  13. ///定位信息类
  14. @interface MAUserLocation : MAAnimatedAnnotation
  15. ///位置更新状态,如果正在更新位置信息,则该值为YES
  16. @property (readonly, nonatomic, getter = isUpdating) BOOL updating;
  17. ///位置信息,如果MAMapView的showsUserLocation为NO,或者尚未定位成功,则该值为nil
  18. @property (readonly, nonatomic, strong) CLLocation *location;
  19. ///heading信息
  20. @property (readonly, nonatomic, strong) CLHeading *heading;
  21. @end