setMapOnLongClickCallback method

void setMapOnLongClickCallback (
  1. {@required BMFMapCoordinateCallback callback}
)

设置长按地图时会回调接口

BMFMapCoordinateCallback callback 回调接口

Implementation

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