removeOverlay method

Future<bool> removeOverlay (
  1. String overlayId
)

地图指定删除overlay

overlayId 要删除overlay的id

bool 成功返回true 失败false

Implementation

Future<bool> removeOverlay(String overlayId) async {
  return await BMFMapDispatcherFactory.instance
      .getOverlayDispatcher()
      .removeOverlayDispatch(_mapChannel, overlayId);
}