menu
amap_flutter_location package
documentation
amap_location_option.dart
AMapLocationOption
desiredAccuracy property
desiredAccuracy property
dark_mode
light_mode
desiredAccuracy
property
DesiredAccuracy
desiredAccuracy
getter/setter pair
iOS端期望的定位精度, 只在iOS端有效
默认值:最高精度
可选值:
[DesiredAccuracy.Best] 最高精度
[DesiredAccuracy.BestForNavigation] 适用于导航场景的高精度
[DesiredAccuracy.NearestTenMeters] 10米
[DesiredAccuracy.Kilometer] 1000米
[DesiredAccuracy.ThreeKilometers] 3000米
Implementation
DesiredAccuracy desiredAccuracy = DesiredAccuracy.Best;
amap_flutter_location package
documentation
amap_location_option
AMapLocationOption
desiredAccuracy property
AMapLocationOption class