searchPoiPolygon method

Future<PoiResult> searchPoiPolygon(
  1. PoiSearchQuery query
)

搜索poi 多边形搜索

Implementation

Future<PoiResult> searchPoiPolygon(PoiSearchQuery query) {
  L.p('searchPoiPolygon dart端参数: query.toJsonString() -> ${query.toJsonString()}');

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