MAPointAnnotation.h 623 B

12345678910111213141516171819202122232425
  1. //
  2. // MAPointAnnotation.h
  3. // MAMapKitDemo
  4. //
  5. // Created by songjian on 13-1-7.
  6. // Copyright © 2016 Amap. All rights reserved.
  7. //
  8. #import "MAConfig.h"
  9. #import "MAShape.h"
  10. #import <CoreLocation/CLLocation.h>
  11. ///点标注数据
  12. @interface MAPointAnnotation : MAShape
  13. ///经纬度
  14. @property (nonatomic, assign) CLLocationCoordinate2D coordinate;
  15. ///是否固定在屏幕一点, 注意,拖动或者手动改变经纬度,都会导致设置失效
  16. @property (nonatomic, assign, getter = isLockedToScreen) BOOL lockedToScreen;
  17. ///固定屏幕点的坐标
  18. @property (nonatomic, assign) CGPoint lockedScreenPoint;
  19. @end