updateFloorHeight method

Future<bool> updateFloorHeight(
  1. double floorHeight
)

更新楼层高度

Implementation

Future<bool> updateFloorHeight(double floorHeight) async {
  bool ret = await BMFMapDispatcherFactory.instance.overlayDispatcher
      .updatePrismOverlayMember(this.methodChannel,
          {'id': this.id, 'member': 'floorHeight', 'value': floorHeight});

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

  return ret;
}