searchRoutePoiPolygon method

Future<RoutePoiResult> searchRoutePoiPolygon(
  1. RoutePoiSearchQuery query
)

道路沿途多边形检索POI

Implementation

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

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