iOS高德地图SDK(2D)
v5.6.0
|
定位相关参数的类别 More...
#import <MAMapView.h>
Properties | |
CLLocationDistance | distanceFilter |
设定定位的最小更新距离。默认为kCLDistanceFilterNone,会提示任何移动 More... | |
CLLocationAccuracy | desiredAccuracy |
设定定位精度。默认为kCLLocationAccuracyBest More... | |
CLLocationDegrees | headingFilter |
设定最小更新角度。默认为1度,设定为kCLHeadingFilterNone会提示任何角度改变 More... | |
BOOL | pausesLocationUpdatesAutomatically |
指定定位是否会被系统自动暂停。默认为YES。只在iOS 6.0之后起作用 More... | |
BOOL | allowsBackgroundLocationUpdates |
是否允许后台定位。默认为NO。只在iOS 9.0之后起作用。设置为YES的时候必须保证 Background Modes 中的 Location updates处于选中状态,否则会抛出异常 More... | |
定位相关参数的类别
|
readwritenonatomicassign |
是否允许后台定位。默认为NO。只在iOS 9.0之后起作用。设置为YES的时候必须保证 Background Modes 中的 Location updates处于选中状态,否则会抛出异常
Extends class MAMapView.
|
readwritenonatomicassign |
设定定位精度。默认为kCLLocationAccuracyBest
Extends class MAMapView.
|
readwritenonatomicassign |
设定定位的最小更新距离。默认为kCLDistanceFilterNone,会提示任何移动
Extends class MAMapView.
|
readwritenonatomicassign |
设定最小更新角度。默认为1度,设定为kCLHeadingFilterNone会提示任何角度改变
Extends class MAMapView.
|
readwritenonatomicassign |
指定定位是否会被系统自动暂停。默认为YES。只在iOS 6.0之后起作用
Extends class MAMapView.