observeMapDisplayOptions
fun NavManagerService.observeMapDisplayOptions(activityName: String? = null): Flow<MapDisplayOptions>
Emits new MapDisplayOptions values whenever the map display options change.
Return
Flow that emits MapDisplayOptions updates Event type: EventType.MAP_DISPLAY_OPTIONS_UPDATED.id
Parameters
activityName
The name of the activity the events of each must be observed. If null, events of the main activity will be observed.