setMapRegionDidChangeWithReasonCallback method

void setMapRegionDidChangeWithReasonCallback (
  1. {@required BMFMapRegionChangeReasonCallback callback}
)

设置地图区域改变完成后会调用接口

BMFMapRegionChangeReasonCallback callback

Implementation

void setMapRegionDidChangeWithReasonCallback(
    {@required BMFMapRegionChangeReasonCallback callback}) {
  if (_methodChannelHandler != null || callback != null) {
    _methodChannelHandler.setMapRegionDidChangeWithReasonCallback(callback);
  }
}