activateIndoorLevel method

Future<void> activateIndoorLevel(
  1. IndoorLevel indoorLevel
)

Activates an indoor level within the currently focused indoor building.

Throws if no building is currently focused or the index is out of range.

Implementation

Future<void> activateIndoorLevel(IndoorLevel indoorLevel) {
  return GoogleMapsNavigationPlatform.instance.viewAPI.activateIndoorLevel(
    viewId: _viewId,
    levelIndex: indoorLevel.levelIndex,
  );
}