GeocoderMixin mixin

(逆)地理编码转化

Mixin applications

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAddressesFromLocation(ReverseGeoCodeRequest request) Future<List<GeoAddress>>
Obtain address info from location. 调用逆地理编码服务,将坐标转换为地理描述。 See also: https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis-location-kit/js-apis-geoLocationManager.md#geolocationmanagergetaddressesfromlocation
getAddressesFromLocationName(GeoCodeRequest request) Future<List<GeoAddress>>
Obtain latitude and longitude info from location address. 调用地理编码服务,将地理描述转换为具体坐标 https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis-location-kit/js-apis-geoLocationManager.md#geolocationmanagergetaddressesfromlocationname
isGeocoderAvailable() Future<bool>
Obtain current location switch status. 判断地理编码与逆地理编码服务状态。 See also: https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis-location-kit/js-apis-geoLocationManager.md#geolocationmanagerisgeocoderavailable
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