setMapRegionWillChangeCallback method

void setMapRegionWillChangeCallback (
  1. {@required BMFMapRegionChangeCallback callback}
)

设置地图区域即将改变时会调用接口

BMFMapRegionChangeCallback callback 回调接口

Implementation

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