AiAMapLocationResult class

AiAMapLocationResult 重要备注: 高德地图在定位成功的情况,第一次定位90%会出现"有纬度、经度"单却没有"地址、省市区等信息" @see islo @see haveAddress

Constructors

AiAMapLocationResult({bool isLocationSuccessful, num errorCode, String errorInfo, String address, num locationType, num latitude, num longitude, num accuracy, String adCode, num altitude, String aoiName, num bearing, String city, String cityCode, num conScenario, String coordType, String country, String description, String district, String floor, num gpsAccuracyStatus, String locationDetail, String locationQualityReportAdviseMessage, String poiName, String provider, String province, num satellites, num speed, String street, String streetNum, num trustedLevel, String toString, String time})
Constructor
AiAMapLocationResult.convertFromNative({@required dynamic arguments})

Properties

accuracy num
read-only
adCode String
read-only
address String
read-only
aoiName String
read-only
city String
read-only
cityCode String
read-only
country String
read-only
description String
read-only
district String
read-only
errorCode num
read-only
errorInfo String
read-only
floor String
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
latitude num
read-only
locationDetail String
location detail
read-only
locationString String
read-only
longitude num
read-only
poiName String
read-only
provider String
read-only
province String
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
street String
read-only
streetNum String
read-only
time String
read-only

Methods

haveAddress() bool
高德地图在定位成功后,会出现: 有"纬度、经度"却没有"地址、省市区信息"的情况, 此情况非常严重,严重影响到实际业务 haveAddress是为了确保在"定位成功"情况下,并且有"地址信息"。
isLocationSuccessful() bool
Location whether successful. @see haveAddress
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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