selectBuilding method

Future<void> selectBuilding(
  1. FutureOr<MPBuilding?> building,
  2. bool moveCamera
)

Select a building, optionally move the camera to the given building

Implementation

Future<void> selectBuilding(
    FutureOr<MPBuilding?> building, bool moveCamera) async {
  return MapcontrolPlatform.instance
      .selectBuilding(await building, moveCamera);
}