AMapLocationForIOS class

Inheritance

Constructors

AMapLocationForIOS.fromMap(Map map)

Properties

adCode String?
区域编码
finalinherited
address String?
地址信息
finalinherited
altitude double?
海拔高度(单位:米)
finalinherited
aoiName String?
兴趣面名称
finalinherited
bearing double?
方向角(单位:度) 默认值:0.0 取值范围:【0,360】,其中0度表示正北方向,90度表示正东,180度表示正南,270度表示正西 在android上: 当定位类型不是GPS时,可以通过 AMapLocationOptionForAndroid.sensorEnable 控制是否返回方向角, 当设置为true时会通过手机传感器获取方向角,如果手机没有对应的传感器会返回0.0 注意: 定位类型为GPS时,方向角指的是运动方向 定位类型不是GPS时,方向角指的是手机朝向
finalinherited
bearingAccuracy double?
bearing 航向精度 iOS 13.4+
final
city String?
城市名称
finalinherited
cityCode String?
城市编码
finalinherited
country String?
在iOSAMapLocationOptionForIOS.withReGeocode==false以下字段没有数据,需要数据请设置为true 以下数据在iOS属于逆地理信息 国家名称
finalinherited
district String?
区的名称
finalinherited
error AMapLocationError?
ios 连续定位 错误信息 请使用 onLocationFailed ios 单次定位 android 单次定位和连续定位 错误信息 这里都有
finalinherited
floor String?
室内定位的楼层信息
finalinherited
hashCode int
The hash code for this object.
no setterinherited
horizontalAccuracy double?
定位水平精度 单位:米
final
isProducedByAccessory bool?
如果此位置是由外部配件生成的,如CarPlay或MFi配件,则设置为 true iOS 15+
final
isSimulatedBySoftware bool?
如果这个位置是由软件模拟器(如Xcode)检测到的,设置为 true iOS 15+
final
latitude double?
高德纬度
finalinherited
longitude double?
高德经度
finalinherited
poiName String?
兴趣点名称
finalinherited
province String?
省的名称
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
speed double?
获取当前速度(单位:米/秒)
finalinherited
speedAccuracy double?
speed 精度
final
street String?
街道名称
finalinherited
streetNum String?
门牌号
finalinherited
timestamp double?
定位时间
finalinherited
verticalAccuracy double?
定位垂直精度 单位:米
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
override
toMapForPlatform() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited