searchPOIByCoordinate method
void
searchPOIByCoordinate({
- required TIMCoordinate coordinate,
- required void onGetReverseGeoCodeSearchResult(),
Searching the POI list according to the coordinate, and return a function with 'TIMReverseGeoCodeSearchResult' and boolean of isError. 根据地理坐标查询附近的POI,并返回包含TIMReverseGeoCodeSearchResult及是否报错参数的方法。
Implementation
void searchPOIByCoordinate(
{required TIMCoordinate coordinate,
required void Function(TIMReverseGeoCodeSearchResult, bool)
onGetReverseGeoCodeSearchResult}) async {}