moveToCurrentLocationActionWithSearchPOI method

void moveToCurrentLocationActionWithSearchPOI({
  1. required void moveMapCenter(
    1. TIMCoordinate coordinate
    ),
  2. void onGetReverseGeoCodeSearchResult(
    1. TIMReverseGeoCodeSearchResult,
    2. bool
    )?,
})

Implementation

void moveToCurrentLocationActionWithSearchPOI({
  required void Function(TIMCoordinate coordinate) moveMapCenter,
  void Function(TIMReverseGeoCodeSearchResult, bool)?
      onGetReverseGeoCodeSearchResult,
}) {
  service.moveToCurrentLocationActionWithSearchPOIByMapSDK(
      moveMapCenter: moveMapCenter,
      onGetReverseGeoCodeSearchResult: onGetReverseGeoCodeSearchResult);
}