updateZIndex method

Future<bool> updateZIndex (
  1. int zIndex
)

更新z轴方向上的堆叠顺序

Implementation

Future<bool> updateZIndex(int zIndex) async {
  this.zIndex = zIndex;

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