CameraModeOverrideProvider

Provides a Flow of the map camera mode to use.

Functions

Link copied to clipboard
open fun createCameraModeOverride(cameraModeOverrideContext: CameraModeOverrideContext): Flow<MapCameraMode?>

When the returned Flow emits a non-null value, that map camera mode will be used. If null is emitted, or no value is emitted, the setting of the map camera mode will behave in the default way.