updateEnabled3D method

Future<bool> updateEnabled3D (
  1. bool enabled3D
)

更新marker是否显示3D效果

Implementation

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

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

  return ret;
}