updateLineCapType method

Future<bool> updateLineCapType (
  1. BMFLineCapType lineCapType
)

更新折线头尾处理方式

BMFLineCapType lineCapType 折线头尾类型

Implementation

Future<bool> updateLineCapType(BMFLineCapType lineCapType) async {
  this.lineCapType = lineCapType;

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