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