observeZoomLevel

fun NavManagerService.observeZoomLevel(activityName: String? = null): Flow<Double>

Observes zoom level changes on the map.

Return

Flow that emits zoom level updates as Double values Event type: EventType.ZOOM_LEVEL_CHANGED.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.