updateZIndex method

Future<bool> updateZIndex (
  1. int zIndex
)

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

Android独有

Implementation

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

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

  return ret;
}