updateDraggable method

Future<bool> updateDraggable (
  1. bool draggable
)

更新是否可拖拽

Implementation

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

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

  return ret;
}