updateZIndex method
- int zIndex
更新z轴方向上的堆叠顺序
Android独有
Implementation
Future<bool> updateZIndex(int zIndex) async {
if (this.zIndex == zIndex) {
return true;
}
bool ret = await BMFMapDispatcherFactory.instance.overlayDispatcher
.updatePolylineMember(this.methodChannel,
{'id': this.Id, 'member': 'zIndex', 'value': zIndex});
if (ret) {
this.zIndex = zIndex;
}
return ret;
}