BaiduLocation class

百度定位结果类,用于存储各类定位结果信息

Constructors

BaiduLocation({String? town, double? course, double? speed, String? locationID, String? locTime, int? locType, double? radius, double? latitude, double? longitude, double? altitude, String? country, String? adCode, String? cityCode, String? streetNumber, String? province, String? city, double? horizontalAccuracy, double? verticalAccuracy, String? district, String? street, String? address, String? locationDetail, BMFMockLocationProbability? probability, String? poiList, List<BaiduPoiList>? pois, Map? poiRegion, String? callbackTime, int? errorCode, String? errorInfo})
BaiduLocation.fromMap(Map map)
根据传入的map生成BaiduLocation对象

Properties

adCode String?
行政区划编码
getter/setter pair
address String?
地址
getter/setter pair
altitude double?
高度
getter/setter pair
callbackTime String?
定位结果回调时间
getter/setter pair
city String?
城市
getter/setter pair
cityCode String?
城市编码
getter/setter pair
country String?
国家
getter/setter pair
course double?
航向
getter/setter pair
district String?
区县
getter/setter pair
errorCode int?
错误码
getter/setter pair
errorInfo String?
定位失败描述信息
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
horizontalAccuracy double?
水平精度(仅iOS端返回)
getter/setter pair
latitude double?
纬度
getter/setter pair
locationDetail String?
位置语义化描述,例如"在百度大厦附近"
getter/setter pair
locationID String?
定位id
getter/setter pair
locTime String?
定位成功时间
getter/setter pair
locType int?
定位结果类型(仅Android端返回)
getter/setter pair
longitude double?
经度
getter/setter pair
poiList String?
周边poi信息,每个poi之间用"|"隔开
getter/setter pair
poiRegion Map?
getter/setter pair
pois List<BaiduPoiList>?
周边poi信息
getter/setter pair
probability BMFMockLocationProbability?
模拟定位概率
getter/setter pair
province String?
省份
getter/setter pair
radius double?
定位精度(仅Android端返回)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
speed double?
速度
getter/setter pair
street String?
getter/setter pair
streetNumber String?
街道号码
getter/setter pair
town String?
街道
getter/setter pair
verticalAccuracy double?
垂直精度(仅iOS端返回)
getter/setter pair

Methods

getMap() Map
获取对本类所有变量赋值后的map键值对
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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