MATraceLocation.h 861 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // MATraceLocation.h
  3. // MAMapKit
  4. //
  5. // Created by shaobin on 16/9/1.
  6. // Copyright © 2016年 Amap. All rights reserved.
  7. //
  8. #import "MAConfig.h"
  9. #if MA_INCLUDE_TRACE_CORRECT
  10. #import <Foundation/Foundation.h>
  11. #import <CoreLocation/CoreLocation.h>
  12. ///返回轨迹点定义
  13. @interface MATracePoint : NSObject<NSCoding>
  14. ///纬度坐标
  15. @property (nonatomic, assign) CLLocationDegrees latitude;
  16. ///经度坐标
  17. @property (nonatomic, assign) CLLocationDegrees longitude;
  18. @end
  19. ///传入轨迹点定义
  20. @interface MATraceLocation : NSObject
  21. ///经纬度坐标
  22. @property (nonatomic, assign) CLLocationCoordinate2D loc;
  23. ///角度, 标识移动方向,单位度
  24. @property (nonatomic, assign) double angle;
  25. ///速度,单位km/h
  26. @property (nonatomic, assign) double speed;
  27. ///时间,单位毫秒
  28. @property (nonatomic, assign) double time;
  29. @end
  30. #endif