BMKUserLocation.h 881 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // BMKUserLocation.h
  3. // BaseComponent
  4. //
  5. // Created by Baidu on 3/26/14.
  6. // Copyright (c) 2014 baidu. All rights reserved.
  7. //
  8. #import <CoreLocation/CLLocation.h>
  9. #import <Foundation/Foundation.h>
  10. #import "BMKBaseComponent.h"
  11. @class CLLocation;
  12. @class CLHeading;
  13. @interface BMKUserLocation : NSObject
  14. /// 位置更新状态,如果正在更新位置信息,则该值为YES
  15. @property (readonly, nonatomic, getter=isUpdating) BOOL updating;
  16. /// 位置信息,尚未定位成功,则该值为nil
  17. @property (readonly, nonatomic,strong) CLLocation *location;
  18. /// heading信息,尚未定位成功,则该值为nil
  19. @property (readonly, nonatomic, strong) CLHeading *heading;
  20. /// 定位标注点要显示的标题信息
  21. @property (strong, nonatomic) NSString *title;
  22. /// 定位标注点要显示的子标题信息.
  23. @property (strong, nonatomic) NSString *subtitle;
  24. @end