TencentGeoAddress class

逆地理信息。

映射来源:

  • Android TencentLocation.getNation/Province/City/District/...
  • iOS TencentLBSLocation.nation/province/city/...
  • Harmony TencentGeoAddress

Constructors

TencentGeoAddress({String? name, String? address, String? nation, int? nationCode, String? province, String? city, String? district, String? town, String? village, String? street, String? streetNo, String? cityCode, String? cityPhoneCode, int? areaStat})
const
TencentGeoAddress.fromMap(Map map)
factory

Properties

address → String?
完整地址。
final
areaStat → int?
仅 Android / iOS 有,Harmony 为 null。
final
city → String?
市。
final
cityCode → String?
城市 adcode(6 位数字)。
final
cityPhoneCode → String?
城市电话区号。
final
district → String?
区 / 县。
final
hashCode → int
The hash code for this object.
no setterinherited
name → String?
位置名称。
final
nation → String?
国家。
final
nationCode → int?
国家编码(如中国 = 156)。仅 Android 有。
final
province → String?
省。
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
street → String?
街道。
final
streetNo → String?
街道门牌。
final
town → String?
镇。
final
village → String?
村。
final

Methods

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

Operators

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