MapDialog

fun MapDialog(weatherVm: WeatherViewModel, scope: CoroutineScope, showMap: MutableState<Boolean>)

Dialog for showing map and selecting location

Parameters

weatherVm

WeatherViewModel ViewModel

scope

CoroutineScope scope to run fetch location

showMap

MutableState state to show/hide dialog