|
高德地图SDK(导航) V10.0.600
|
定位信息类 More...
#import <MAUserLocation.h>
Properties | |
| BOOL | updating |
| 位置更新状态,如果正在更新位置信息,则该值为YES | |
| CLLocation * | location |
| 位置信息,如果MAMapView的showsUserLocation为NO,或者尚未定位成功,则该值为nil | |
| CLHeading * | heading |
| heading信息 | |
Properties inherited from MAAnimatedAnnotation | |
| CLLocationDirection | movingDirection |
| 移动方向. 正北为0度,顺时针方向。即正东90,正南180,正西270。since 4.5.0 | |
Properties inherited from MAPointAnnotation | |
| CLLocationCoordinate2D | coordinate |
| 经纬度 | |
| BOOL | lockedToScreen |
| 是否固定在屏幕一点, 注意,拖动或者手动改变经纬度,都会导致设置失效 | |
| CGPoint | lockedScreenPoint |
| 固定屏幕点的坐标 | |
Properties inherited from MAShape | |
| NSString * | title |
| 标题 | |
| NSString * | subtitle |
| 副标题 | |
Properties inherited from MABaseOverlay | |
| CLLocationCoordinate2D | coordinate |
| 返回区域中心坐标 | |
| MAMapRect | boundingMapRect |
| 区域外接矩形 | |
| double | altitude |
| 海拔,单位米,默认0 | |
Properties inherited from <MAAnnotation> | |
| CLLocationCoordinate2D | coordinate |
| 标注view中心坐标 | |
| NSString * | title |
| annotation标题 | |
| NSString * | subtitle |
| annotation副标题 | |
| double | altitude |
| annotation海拔高度,单位米,默认0 | |
Additional Inherited Members | |
Instance Methods inherited from MAAnimatedAnnotation | |
| (MAAnnotationMoveAnimation *) | - addMoveAnimationWithKeyCoordinates:count:withDuration:withName:completeCallback: |
| 添加移动动画, 第一个添加的动画以当前coordinate为起始点,沿传入的coordinates点移动,否则以上一个动画终点为起始点. since 4.5.0 | |
| (MAAnnotationMoveAnimation *) | - addMoveAnimationWithKeyCoordinates:count:withDuration:withName:completeCallback:stepCallback: |
| 添加移动动画, 第一个添加的动画以当前coordinate为起始点,沿传入的coordinates点移动,否则以上一个动画终点为起始点. since 5.4.0 | |
| (NSArray< MAAnnotationMoveAnimation * > *) | - allMoveAnimations |
| 获取所有未完成的移动动画, 返回数组内为MAAnnotationMoveAnimation对象. since 4.5.0 | |
| (void) | - setNeedsStart |
| 设置需要开始动画,自定义其他类型动画时需要调用. since 6.0.0 | |
Instance Methods inherited from <MAOverlay> | |
| (CLLocationCoordinate2D) | - coordinate |
| 返回区域中心坐标 | |
| (MAMapRect) | - boundingMapRect |
| 区域外接矩形 | |
Instance Methods inherited from <MAAnnotation> | |
| (void) | - setCoordinate: |
| 设置标注的坐标,在拖拽时会被调用. | |
Instance Methods inherited from <MAAnimatableAnnotation> | |
| (void) | - step: |
| 动画帧更新回调接口,实现者可在内部做更新处理,如更新coordinate. (since 4.5.0) | |
| (BOOL) | - isAnimationFinished |
| 动画是否已完成. 通过此方法判断是否需要将动画annotation移出渲染执行过程。(since 4.5.0) | |
| (BOOL) | - shouldAnimationStart |
| 动画是否可以开始. 通过此方法判断是否需要将动画annotation加入渲染过程,已经start且尚未finish的动画标注才会调用step方法。(since 6.0.0) | |
| (CLLocationDirection) | - rotateDegree |
| 动画更新时调用此接口,获取annotationView的旋转角度,不实现默认为0. (since 4.5.0) | |
Protected Attributes inherited from MAShape | |
| NSString * | _title |
| 标题 | |
| NSString * | _subtitle |
| 副标题 | |
Protected Attributes inherited from MABaseOverlay | |
| double | _altitude |
| 海拔 | |
定位信息类
|
readnonatomicstrong |
heading信息
|
readnonatomicstrong |
位置信息,如果MAMapView的showsUserLocation为NO,或者尚未定位成功,则该值为nil
|
readnonatomicassign |
位置更新状态,如果正在更新位置信息,则该值为YES