updateVisible method

Future<bool> updateVisible (
  1. bool visible
)

更新marker是否显示

Implementation

Future<bool> updateVisible(bool visible) async {
  this.visible = visible;
  return await BMFMapDispatcherFactory.instance
      .getMarkerDispatcher()
      .updateMarkerMember(this.getMethodChannel(), {
    'id': this.getId(),
    'member': 'visible',
    'value': visible,
  });
}