GeoCodeRequest class

Constructors

GeoCodeRequest.new({required String description, String? locale, int? maxItems, double? minLatitude, double? minLongitude, double? maxLatitude, double? maxLongitude})

Properties

description String
Address information. 表示位置信息描述,如“上海市浦东新区xx路xx号”。
final
hashCode int
The hash code for this object.
no setterinherited
locale String?
Indicates the language area information. 表示位置描述信息的语言,“zh”代表中文,“en”代表英文。默认值从设置中的“语言和地区”获取。
final
maxItems int?
Indicates the maximum number of geocode query results. 表示返回位置信息的最大个数。取值范围为大于等于0,推荐该值小于10。默认值是1。
final
maxLatitude double?
Indicates the maximum latitude for geocoding query results. 表示最大纬度信息。取值范围为-90到90。
final
maxLongitude double?
Indicates the maximum longitude for geocoding query results. 表示最大经度信息。取值范围为-180到180
final
minLatitude double?
Indicates the minimum latitude for geocoding query results. 表示最小纬度信息,与下面三个参数一起,表示一个经纬度范围。取值范围为-90到90。
final
minLongitude double?
Indicates the minimum longitude for geocoding query results. 表示最小经度信息。取值范围为-180到180。
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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