forceOnlineMode method

Future<void> forceOnlineMode()

Forces the map to use online mode, disabling any offline functionality.

This is useful for testing or when you want to ensure the map always uses the latest data from the network.

The returned Future completes after the change has been made on the platform side.

Implementation

Future<void> forceOnlineMode() async {
  return _maplibrePlatform.forceOnlineMode();
}