updateVisible method

Future<bool> updateVisible (
  1. bool visible
)

更新marker是否显示

Android独有

Implementation

Future<bool> updateVisible(bool visible) async {
  bool ret = await BMFMapDispatcherFactory.instance.markerDispatcher
      .updateMarkerMember(this.methodChannel, {
    'id': this.Id,
    'member': 'visible',
    'value': visible,
  });

  if (ret) {
    this.visible = visible;
  }

  return ret;
}