ReverseGeoCodeRequest class
Configuring parameters in reverse geocode requests. 逆地理编码请求参数。 See also: https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis-location-kit/js-apis-geoLocationManager.md#reversegeocoderequest
Constructors
- ReverseGeoCodeRequest.new({String? locale, required double latitude, required double longitude, int? maxItems})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- latitude → double
-
Latitude for reverse geocoding query.
表示纬度信息,正值表示北纬,负值表示南纬。取值范围为-90到90。
final
- locale → String?
-
Indicates the language area information.
指定位置描述信息的语言,“zh”代表中文,“en”代表英文。默认值从设置中的“语言和地区”获取。
final
- longitude → double
-
Longitude for reverse geocoding query.
表示经度信息,正值表示东经,负值表示西经。取值范围为-180到180。
final
- maxItems → int?
-
Indicates the maximum number of addresses returned by reverse geocoding query.
指定返回位置信息的最大个数。取值范围为大于等于0,推荐该值小于10。默认值是1。
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