updateLineDashType method

Future<bool> updateLineDashType (
  1. BMFLineDashType lineDashType
)

更新折线绘制样式

BMFLineDashType lineDashType 折线类型

Implementation

Future<bool> updateLineDashType(BMFLineDashType lineDashType) async {
  this.lineDashType = lineDashType;

  return await BMFMapDispatcherFactory.instance
      .getOverlayDispatcher()
      .updateOverlayMemberDispatch(this.getMethodChannel(), {
    'id': this.getId(),
    'member': 'lineDashType',
    'value': lineDashType.index,
  });
}