searchRoutePoiLine method

Future<RoutePoiResult> searchRoutePoiLine(
  1. RoutePoiSearchQuery query
)

道路沿途直线检索POI

Implementation

Future<RoutePoiResult> searchRoutePoiLine(RoutePoiSearchQuery query) {
  L.p('searchRoutePoiLine dart端参数: query.toJsonString() -> ${query.toJsonString()}');

  return _searchChannel.invokeMethod('search#searchRoutePoiLine', {'query': query.toJsonString()}).then((result) => result).then((jsonString) => RoutePoiResult.fromJson(jsonDecode(jsonString)));
}