AMapSearch class

Constructors

AMapSearch()
factory

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

calculateDriveRoute(RoutePlanParam param) Future<DriveRouteResult>
计算驾驶路线
calculateRidingRoute(RoutePlanParam param) Future<DriveRouteResult>
计算骑行路线
distanceSearch(List<LatLng> origins, LatLng target, DistanceSearchType type) Future<List<int>>
距离测量 参考链接
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
searchBusStation(String stationName, String city) Future<BusStationResult?>
公交站点查询
searchGeocode(String name, String city) Future<GeocodeResult>
地址转坐标 name表示地址,第二个参数表示查询城市,中文或者中文全拼,citycode、adcode
searchPoi(PoiSearchQuery query) Future<PoiResult>
搜索poi
searchPoiBound(PoiSearchQuery query) Future<PoiResult>
搜索poi 周边搜索
searchPoiId(String id) Future<PoiItem>
按id搜索poi
searchPoiPolygon(PoiSearchQuery query) Future<PoiResult>
搜索poi 多边形搜索
searchReGeocode(LatLng point, double radius, int latLonType) Future<ReGeocodeResult>
逆地理编码(坐标转地址)
searchRoutePoiLine(RoutePoiSearchQuery query) Future<RoutePoiResult>
道路沿途直线检索POI
searchRoutePoiPolygon(RoutePoiSearchQuery query) Future<RoutePoiResult>
道路沿途多边形检索POI
toString() String
A string representation of this object.
inherited

Operators

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