Converting map widget from using callbacks to using observables