updateDottedLine method

Future<bool> updateDottedLine (
  1. bool dottedLine
)

更新是否虚线 Android

dottedLine 折线呢是否显示虚线

Implementation

Future<bool> updateDottedLine(bool dottedLine) async {
  if (this.dottedLine == dottedLine) {
    return true;
  }

  bool ret = await BMFMapDispatcherFactory.instance.overlayDispatcher
      .updateCircleMember(this.methodChannel,
          {'id': this.Id, 'member': 'dottedLine', 'value': dottedLine});

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

  return ret;
}